using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 产品类别 /// [SugarTable("bas_product_category")] public partial class BasProductCategory : BaseEntity { public BasProductCategory() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 父产品列表ID /// public string? parent_id { get; set; } /// /// 分类代码 /// public string category_code { get; set; } = string.Empty; /// /// 分类名称 /// public string category_name { 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; } /// /// 不良代码组 /// public string? errorcode { get; set; } /// /// 不良原因组 /// public string? errorcause { get; set; } /// /// 解决方案组 /// public string? errorsolution { get; set; } /// /// 包含组件组 /// public string? component { get; set; } }