using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 工序BOM主档 /// [SugarTable("bas_pbom_h")] public partial class BasPbomH : BaseEntity { public BasPbomH() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 产品ID,BAS_ITEM.ID /// public string item_id { get; set; } = string.Empty; /// /// 产品代码 /// public string item_code { get; set; } = string.Empty; /// /// 工艺路线代码 /// public string route_code { get; set; } = string.Empty; /// /// 工艺路线版本 /// public string route_version { get; set; } = string.Empty; /// /// BOM类型: 生产BOM:Standard 返工BOM:Rework 试制BOM:Trial 返修BOM:RMA 包装BOM:Pack /// public string bom_type { get; set; } = string.Empty; /// /// 工序BOM版本 /// public string version { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 时间戳(用于并发控制) /// public string? timestamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } }