zhuangpei-mesbackend/ZR.Model/MES/dev/Dto/DeviceTaskExecuteResultDto.cs

78 lines
1.9 KiB
C#
Raw Normal View History

2024-06-03 19:58:08 +08:00
using System.ComponentModel.DataAnnotations;
namespace ZR.Model.MES.dev.Dto
{
/// <summary>
2024-06-11 13:35:00 +08:00
/// 巡检/点检任务结果表查询对象
2024-06-03 19:58:08 +08:00
/// </summary>
2024-06-11 15:59:24 +08:00
//public class DeviceTaskExecuteResultQueryDto : PagerInfo
//{
// public int? TaskType { get; set; }
// public string RouteInspectionPlanName { get; set; }
// public string DeviceName { get; set; }
// public string InspectName { get; set; }
//}
public class DeviceTaskExecuteResultQueryDto : PagerInfo
2024-06-03 19:58:08 +08:00
{
2024-06-11 15:59:24 +08:00
public int? PlanType { get; set; }
public string PlanName { get; set; }
2024-06-03 19:58:08 +08:00
public string DeviceName { get; set; }
2024-06-11 15:59:24 +08:00
public DateTime Starttime { get; set; }
public DateTime Endtime { get; set; }
2024-06-03 19:58:08 +08:00
}
2024-06-11 15:59:24 +08:00
2024-06-03 19:58:08 +08:00
/// <summary>
2024-06-11 13:35:00 +08:00
/// 巡检/点检任务结果表输入输出对象
2024-06-03 19:58:08 +08:00
/// </summary>
public class DeviceTaskExecuteResultDto
{
[Required(ErrorMessage = "id 雪花不能为空")]
public string Id { get; set; }
2024-06-11 13:35:00 +08:00
public int? PlanType { get; set; }
2024-06-03 19:58:08 +08:00
2024-06-11 13:35:00 +08:00
[Required(ErrorMessage = "计划id不能为空")]
public string FkPlanId { get; set; }
public string PlanName { get; set; }
2024-06-03 19:58:08 +08:00
public int? FkDeviceId { get; set; }
public string DeviceName { get; set; }
2024-06-11 13:35:00 +08:00
[Required(ErrorMessage = "设备检查项id不能为空")]
public int FkInspectId { get; set; }
2024-06-03 19:58:08 +08:00
public string InspectName { get; set; }
2024-06-11 13:35:00 +08:00
public string FkFormId { get; set; }
2024-06-03 19:58:08 +08:00
2024-06-11 13:35:00 +08:00
public int? FormType { get; set; }
2024-06-03 19:58:08 +08:00
2024-06-11 13:35:00 +08:00
public string FormTitle { get; set; }
2024-06-03 19:58:08 +08:00
2024-06-11 13:35:00 +08:00
public string FormName { get; set; }
2024-06-03 19:58:08 +08:00
2024-06-11 13:35:00 +08:00
public string Person { get; set; }
2024-06-03 19:58:08 +08:00
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; }
2024-06-11 13:35:00 +08:00
2024-06-03 19:58:08 +08:00
}
}