设备管理
This commit is contained in:
85
ZR.Model/MES/Device/DeviceRepair.cs
Normal file
85
ZR.Model/MES/Device/DeviceRepair.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
|
||||
namespace ZR.Model.MES.dev
|
||||
{
|
||||
/// <summary>
|
||||
/// 报修单
|
||||
/// </summary>
|
||||
[SugarTable("device_repair")]
|
||||
public class DeviceRepair
|
||||
{
|
||||
/// <summary>
|
||||
/// 雪花id
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维修单号(年月日001)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "repair_order")]
|
||||
public string RepairOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 设备id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "fk_device_id")]
|
||||
public int FkDeviceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报修类型
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报修人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "repair_peron")]
|
||||
public string RepairPeron { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
public string Phone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 故障描述
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "fault_description")]
|
||||
public string FaultDescription { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 拍照文件路径
|
||||
/// </summary>
|
||||
public string File { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态(启用,停用 维修中)
|
||||
/// </summary>
|
||||
public int? Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "cREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user