namespace DOAN.Model.MES.dev
{
///
/// 报修单
///
[SugarTable("device_repair")]
public class DeviceRepair
{
///
/// 雪花id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 维修单号(年月日001)
///
[SugarColumn(ColumnName = "repair_order")]
public string RepairOrder { get; set; }
///
/// 设备id
///
[SugarColumn(ColumnName = "fk_device_id")]
public int FkDeviceId { get; set; }
///
/// 报修类型
///
public string Type { get; set; }
///
/// 报修人
///
[SugarColumn(ColumnName = "repair_peron")]
public string RepairPeron { get; set; }
///
/// 手机号
///
public string Phone { get; set; }
///
/// 故障描述
///
[SugarColumn(ColumnName = "fault_description")]
public string FaultDescription { get; set; }
///
/// 拍照文件路径
///
public string File { get; set; }
///
/// 状态(启用,停用 维修中)
///
public int? Status { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}