using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 返工需求单 /// [SugarTable("prd_reworksheet")] public partial class PrdReworksheet : BaseEntity { public PrdReworksheet() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 返工需求单代码 /// public string rework_code { get; set; } = string.Empty; /// /// 返工类型: 1:OnLine在线返工, 2:QCReject判退返工 /// public string rework_type { get; set; } = string.Empty; /// /// 物品代码 /// public string item_code { get; set; } = string.Empty; /// /// 产品附属信息 /// public string? item_attribute { get; set; } /// /// 返工需求单状态 /// public string status { get; set; } = string.Empty; /// /// 返工工艺路线 /// public string? rework_route { get; set; } /// /// 返工工艺路线版本 /// public string? rework_route_version { get; set; } /// /// 返工BOM版本 /// public string? rework_bom_version { get; set; } /// /// 返工数量 /// public decimal rework_qty { get; set; } /// /// 返工责任别 /// public string duty_code { get; set; } = string.Empty; /// /// QC判退批号 /// public string? qc_lot { get; set; } /// /// 返工情况说明 /// public string rework_reason { get; set; } = string.Empty; /// /// 返工不良分析 /// public string reason_analyse { get; set; } = string.Empty; /// /// 返工解决方案 /// public string solution { get; set; } = string.Empty; /// /// 是否需要签核 /// public string need_check { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 时间戳 /// 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; } }