using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; using Tnb.Common.Contracts; namespace Tnb.BasicData.Entities; /// /// 次品项 /// [SugarTable("bas_defect")] public partial class BasDefect : BaseEntity { public BasDefect() { id = SnowflakeIdHelper.NextId(); } /// /// 排序 /// [SugarColumn(IsNullable = true)] public long? ordinal { get; set; } /// /// 创建用户 /// [SugarColumn(IsNullable = true)] public string? create_id { get; set; } /// /// 创建时间 /// [SugarColumn(IsNullable = true)] public DateTime? create_time { get; set; } /// /// 修改用户 /// [SugarColumn(IsNullable = true)] public string? modify_id { get; set; } /// /// 修改时间 /// [SugarColumn(IsNullable = true)] public DateTime? modify_time { get; set; } /// /// 扩展字段 /// [SugarColumn(IsNullable = true)] public string? extras { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true)] public string? remark { get; set; } /// /// 次品类型 /// [SugarColumn(IsNullable = true)] public string? defect_type_id { get; set; } /// /// 缺陷代码 /// [SugarColumn(IsNullable = true)] public string? defect_code { get; set; } /// /// 缺陷名称 /// [SugarColumn(IsNullable = true)] public string? defect_name { get; set; } /// /// 是否启用 /// public short enabled { get; set; } }