using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.EquipMgr.Entities; /// /// 设备外修申请表 /// [SugarTable("eqp_repair_out_apply")] public partial class EqpRepairOutApply : BaseEntity { public EqpRepairOutApply() { id = SnowflakeIdHelper.NextId(); } /// /// 设备id /// public string equip_id { get; set; } = string.Empty; /// /// 报修id /// public string repair_apply_id { get; set; } = string.Empty; /// /// 供应商 /// public string? supplier_id { get; set; } /// /// 预估费用 /// public decimal? estimated_cost { get; set; } /// /// 费用 /// public decimal? cost { get; set; } /// /// 工期要求 /// public string? construction_period_requirement { get; set; } /// /// 外修理由 /// public string? out_apply_reason { get; set; } /// /// 外修备注 /// public string? remark { get; set; } /// /// 审批状态 0待审批 1 退回 2 通过 /// public string? approve_status { get; set; } /// /// 修复时间 /// public DateTime? repair_time { get; set; } /// /// 维修耗时 /// public decimal? repair_take_time { get; set; } /// /// 维修备注 /// public string? repair_remark { get; set; } /// /// 登记备注 /// public string? register_remark { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 审批人id /// public string? approve_id { get; set; } /// /// 审批时间 /// public DateTime? approve_time { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 附件 /// public string? attachment { get; set; } /// /// 实际维修供应商 /// public string? real_supplier_id { get; set; } /// /// 流程id /// [SugarColumn(ColumnName = "f_flowid")] public string? flow_id { get; set; } /// /// 流程任务id /// [SugarColumn(ColumnName = "f_flowtaskid")] public string? flow_task_id { get; set; } }