using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 维修不良代码 /// [SugarTable("prd_lot_repair_errorcode")] public partial class PrdLotRepairErrorcode : BaseEntity { public PrdLotRepairErrorcode() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// GUID /// public string repair_id { get; set; } = string.Empty; /// /// 不良代码组 /// public string error_group_code { get; set; } = string.Empty; /// /// 不良代码 /// public string error_code { get; set; } = string.Empty; /// /// 产品序列号/批次号/派工单号 /// public string lot_no { get; set; } = string.Empty; /// /// 工单代码 /// public string mo_code { get; set; } = string.Empty; /// /// 产品代码 /// public string item_code { get; set; } = string.Empty; /// /// 待处理不良数量 /// public decimal? wait_qty { get; set; } /// /// 处理后合格数量 /// public decimal? qualifity_qty { get; set; } /// /// 处理后不合格数量 /// public decimal? unqualifity_qty { get; set; } /// /// 处理后报废数量 /// public decimal? scrap_qty { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 处理状态: UNHANDLE-待处理 HANDLE-已处理 /// public string handle_type { get; set; } = string.Empty; /// /// 时间戳 /// public string? time_stamp { 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; } /// /// 扩展字段 /// public string? extras { get; set; } }