Files
kunshan-bzfm-mes-backend/DOAN.Model/MES/Device/Dto/DeviceTaskExecuteResultDto.cs

98 lines
2.2 KiB
C#
Raw Normal View History

2024-12-10 14:34:13 +08:00
using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.dev.Dto
{
/// <summary>
/// 巡检/点检任务结果表查询对象
/// </summary>
//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; }
}
/// <summary>
/// 巡检/点检任务结果表输入输出对象
/// </summary>
public class DeviceTaskExecuteResultDto
{
//public string taskExecute_id { get; set; }
2024-12-18 19:05:20 +08:00
2024-12-10 14:34:13 +08:00
public string Id { get; set; }
/// <summary>
/// 任务id
/// </summary>
public string FkTaskId { get; set; }
public int? PlanType { get; set; }
[Required(ErrorMessage = "计划id不能为空")]
public string FkPlanId { get; set; }
public string PlanName { get; set; }
/// <summary>
/// 类型(内部) 1是检查 2是保养
/// </summary>
public int? InnerType { get; set; }
/// <summary>
/// 执行周期类型1 按天2按周 3按月
/// </summary>
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; }
}
}