using System.ComponentModel.DataAnnotations; namespace DOAN.Model.MES.dev.Dto { /// /// 巡检/点检任务结果表查询对象 /// //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 { public int? PlanType { get; set; } public string PlanName { get; set; } public string DeviceName { get; set; } public DateTime Starttime { get; set; } public DateTime Endtime { get; set; } } /// /// 巡检/点检任务结果表输入输出对象 /// public class DeviceTaskExecuteResultDto { //public string taskExecute_id { get; set; } [Required(ErrorMessage = "id 雪花不能为空")] public string Id { get; set; } /// /// 任务id /// public string FkTaskId { get; set; } public int? PlanType { get; set; } [Required(ErrorMessage = "计划id不能为空")] public string FkPlanId { get; set; } public string PlanName { get; set; } /// /// 类型(内部) 1是检查 2是保养 /// public int? InnerType { get; set; } /// /// 执行周期类型(1 按天,2按周 3按月) /// public int? ExcuteCycleType { get; set; } public int? FkDeviceId { get; set; } public string DeviceName { get; set; } public int? FkInspectId { get; set; } public string InspectName { get; set; } public string FkFormId { get; set; } public int? FormType { get; set; } public string FormTitle { get; set; } public string FormName { get; set; } public string Person { 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; } } }