using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using YBDevice.Entity; namespace YBDevice.Application.DeviceInfo { /// /// 设备分配记录 /// public class DeviceAllocListS2SDto: DeviceAllocListSCDto { /// /// 来源客户ID /// public int FromBusinessId { get; set; } /// /// 接收客户ID /// public int ToBusinessId { get; set; } } /// /// 设备分配记录 /// public class DeviceAllocListSCDto { /// /// 来源客户 /// public string FromBusiness { get; set; } /// /// 接收客户 /// public string ToBusiness { get; set; } /// /// 操作时间 /// public DateTime Time { get; set; } /// /// 分配类型 /// public DeviceAllocType Type { get; set; } /// /// 操作名称 /// public string OpName { get; set; } } /// /// 设备类型绑定的小程序数据提交 /// public class DeviceAppC2SDto { /// /// /// public Guid Id { get; set; } /// /// 设备类型编码,多个中间以,分隔 /// [Required(ErrorMessage = "请先选择设备类型")] public string DevType { get; set; } /// /// 小程序appid /// [Required(ErrorMessage = "请先选择小程序")] public string AppId { get; set; } } /// /// 设备类型关联的小程序列表 /// public class DeviceAppListS2CDto { /// /// 主键 /// public Guid Id { get; set; } /// /// 设备类型 /// public string DevType { get; set; } /// /// 小程序appid /// public string AppId { get; set; } /// /// 状态,0-不可用,1-可用 /// public StatusType Status { get; set; } /// /// 小程序名称 /// public string AppName { get; set; } } /// /// 设备类型关联的小程序删除 /// public class DeviceAppDeleteC2SDto { /// /// 记录ID /// public Guid Id { get; set; } } }