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

98 lines
2.3 KiB
C#
Raw Normal View History

2024-06-03 19:58:08 +08:00
using System.ComponentModel.DataAnnotations;
2024-07-01 16:04:10 +08:00
namespace DOAN.Model.MES.dev.Dto
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>
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; }
//}
2024-07-03 20:13:57 +08:00
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-07-03 20:13:57 +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
{
2024-07-03 19:01:42 +08:00
2024-07-03 20:13:57 +08:00
//public string taskExecute_id { get; set; }
2024-06-03 19:58:08 +08:00
[Required(ErrorMessage = "id 雪花不能为空")]
public string Id { get; set; }
2024-07-19 08:50:07 +08:00
/// <summary>
/// 任务id
/// </summary>
public string FkTaskId { 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
2024-07-03 20:13:57 +08:00
/// <summary>
/// 类型(内部) 1是检查 2是保养
/// </summary>
public int? InnerType { get; set; }
/// <summary>
/// 执行周期类型1 按天2按周 3按月
/// </summary>
public int? ExcuteCycleType { get; set; }
2024-06-03 19:58:08 +08:00
public int? FkDeviceId { get; set; }
public string DeviceName { get; set; }
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
}
}