using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Entity;

namespace YBDevice.NApi.Application.BusinessClient.DeviceInfo
{
    /// <summary>
    /// 设备激活
    /// </summary>
   public class DeviceActiveDto
    {
        /// <summary>
        /// 设备机器码
        /// </summary>
        public string sn { get; set; }
        /// <summary>
        /// 设备序列号
        /// </summary>
        public string code { get; set; }
    }
    /// <summary>
    /// 设备列表
    /// </summary>
    public class DeviceListDto
    {
        /// <summary>
        /// 设备名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 设备序列号
        /// </summary>
        public string FacEcode { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 设备ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 最近测量时间
        /// </summary>
        public string LastHeartTime { get; set; }
        /// <summary>
        /// 设备状态
        /// </summary>
        public DeviceStatus Status { get; set; }
        /// <summary>
        /// 今日称重数量
        /// </summary>
        public string DayCnt { get; set; }
        /// <summary>
        /// 累计称重次数
        /// </summary>
        public string TotalCnt { get; set; }
        /// <summary>
        /// 商户ID
        /// </summary>
        public int BusinessId { get; set; }
        /// <summary>
        /// 商户名称
        /// </summary>
        public string BusinessName { get; set; }
    }
}
