zhuangpei-mesbackend/ZR.Model/MES/dev/Dto/DeviceAccountDto.cs
2024-05-28 17:29:43 +08:00

75 lines
1.8 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace ZR.Model.MES.dev.Dto
{
/// <summary>
/// 设备台账查询对象
/// </summary>
public class DeviceAccountQueryDto : PagerInfo
{
/// <summary>
/// 设备类型
/// </summary>
public int FkDeviceType { get; set; }
public string DeviceName { get; set; }
public string DeviceSpecification { get; set; }
public int? Status { get; set; }
}
/// <summary>
/// 适配设备巡检项
/// </summary>
public class DeviceAccountQueryDto2 : PagerInfo
{
/// <summary>
/// 设备类型
/// </summary>
public int FkDeviceType { get; set; }
public string DeviceName { get; set; }
public string DeviceSpecification { get; set; }
/// <summary>
/// 巡检id
/// </summary>
public string fkRouteInspectionPlanId { get; set; }
}
/// <summary>
/// 设备台账输入输出对象
/// </summary>
public class DeviceAccountDto
{
public int Id { get; set; }
public int FkDeviceType { get; set; }
public string DeviceName { get; set; }
public string DeviceCode { get; set; }
public string Workshop { get; set; }
public string Workline { get; set; }
public int? Status { get; set; }
public string DeviceImage { get; set; }
public string DeviceFile { get; set; }
public string DeviceSpecification { get; set; }
public string ResponsiblePerson { get; set; }
public string Remark { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}