using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.EquipMgr.Entities; /// /// 设备报修申请 /// [SugarTable("eqp_repair_apply")] public partial class EqpRepairApply : BaseEntity { public EqpRepairApply() { id = SnowflakeIdHelper.NextId(); } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 申请编码 /// public string? code { get; set; } /// /// 申请名称 /// public string? name { get; set; } /// /// 设备ID /// public string? equip_id { get; set; } /// /// 申请用户ID /// public string? apply_user_id { get; set; } /// /// 故障ID /// public string? fault_id { get; set; } /// /// 期望完成时间 /// public DateTime? expect_complete_time { get; set; } /// /// 是否紧急 /// public int? is_ugent { get; set; } /// /// 现象描述 /// public string? description { get; set; } /// /// 状态 /// public string status { get; set; } = string.Empty; /// /// 原因 /// public string? reason { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 是否启用 /// public int? enabled { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 是否外修 /// public int? is_out_apply { get; set; } /// /// 安装位置 /// public string? installation_position { get; set; } /// /// 是否完成 /// public string? is_complete { get; set; } /// /// 完成时间 /// public DateTime? complete_time { get; set; } /// /// 维修耗时 /// public int? repair_take_time { get; set; } /// /// 是否停机 /// public int? is_halt { get; set; } /// /// 停机时长 /// public int? halt_take_time { get; set; } /// /// 维修描述 /// public string? repair_description { get; set; } /// /// 维修人id/责任人id /// public string? repairer_id { get; set; } /// /// 附件 /// public string? attachment { get; set; } /// /// 维修图片 /// public string? repair_img { get; set; } /// /// 生产任务单id /// public string? mo_task_id { get; set; } /// /// 生产任务单号 /// public string? mo_task_code { get; set; } /// /// 复核结果 /// public string repeat_result { get; set; } /// /// 复核描述 /// public string repeat_descrip { get; set; } = string.Empty; /// /// 接收时间 /// public DateTime? receive_time { get; set; } }