78 lines
1.8 KiB
C#
Raw Normal View History

2024-05-28 11:29:50 +08:00
using System.ComponentModel.DataAnnotations;
2024-07-01 16:04:10 +08:00
namespace DOAN.Model.MES.dev.Dto
2024-05-28 11:29:50 +08:00
{
/// <summary>
/// 报修单查询对象
/// </summary>
public class DeviceRepairQueryDto : PagerInfo
{
2024-05-28 17:21:58 +08:00
public string RepairOrder { get; set; }
2024-06-12 17:41:30 +08:00
public int FkDeviceId { get; set; }
2024-05-28 17:21:58 +08:00
public string RepairPeron { get; set; }
public string Phone { get; set; }
public string Type { get; set; }
public int? Status { get; set; }
2024-06-17 10:38:03 +08:00
/// <summary>
/// 时间范围
/// </summary>
public DateTime[] TimeRange { get; set; }
2024-05-28 11:29:50 +08:00
}
2024-06-14 14:35:26 +08:00
public class DeviceRepair_chart
2024-06-14 08:44:08 +08:00
{
public string Id { get; set; }
2024-06-14 08:44:08 +08:00
public string Type { get; set; }
public string TypeName { get; set; }
2024-06-14 14:35:26 +08:00
public DateTime CreatedTime { get; set; }
/// <summary>
/// 累加值
/// </summary>
public int AccValue_SameType { get; set; }
public int Status { get; set; }
2024-06-14 08:44:08 +08:00
}
2024-05-28 11:29:50 +08:00
/// <summary>
/// 报修单输入输出对象
/// </summary>
public class DeviceRepairDto
{
[Required(ErrorMessage = "雪花id不能为空")]
public string Id { get; set; }
public string RepairOrder { get; set; }
public string FkDeviceId { get; set; }
2024-05-28 17:21:58 +08:00
public string DeviceName { get; set; }
public string DeviceCode { get; set; }
2024-05-28 11:29:50 +08:00
public string Type { get; set; }
public string RepairPeron { get; set; }
public string Phone { get; set; }
public string FaultDescription { get; set; }
public string File { get; set; }
public int? Status { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}