设备管理

This commit is contained in:
gcw_MV9p2JJN
2025-09-23 15:11:18 +08:00
parent 657d1b7ab6
commit 308ca6df79
66 changed files with 7276 additions and 17 deletions

View File

@@ -0,0 +1,79 @@
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.MES.dev.Dto
{
/// <summary>
/// 报修单查询对象
/// </summary>
public class DeviceRepairQueryDto : PagerInfo
{
public string RepairOrder { get; set; }
public int FkDeviceId { get; set; }
public string RepairPeron { get; set; }
public string Phone { get; set; }
public string Type { get; set; }
public int? Status { get; set; }
/// <summary>
/// 时间范围
/// </summary>
public DateTime[] TimeRange { get; set; }
}
public class DeviceRepair_chart
{
public string Id { get; set; }
public string Type { get; set; }
public string TypeName { get; set; }
public DateTime CreatedTime { get; set; }
/// <summary>
/// 累加值
/// </summary>
public int AccValue_SameType { get; set; }
public int Status { get; set; }
}
/// <summary>
/// 报修单输入输出对象
/// </summary>
public class DeviceRepairDto
{
// [Required(ErrorMessage = "雪花id不能为空")]
public string Id { get; set; }
public string RepairOrder { get; set; }
public string FkDeviceId { get; set; }
public string DeviceName { get; set; }
public string DeviceCode { get; set; }
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; }
}
}