using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.PerMgr.Entities; /// /// 公差类别 /// [SugarTable("per_tolerance_category")] public partial class PerToleranceCategory : BaseEntity { public PerToleranceCategory() { id = SnowflakeIdHelper.NextId(); } /// /// 名称 /// public string name { get; set; } = string.Empty; /// /// 类型 1 值 2百分比 /// public string type { get; set; } = string.Empty; /// /// 上限 /// public decimal upper_value { get; set; } /// /// 下限 /// public decimal lower_value { get; set; } /// /// 备注 /// public string? remark { 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? org_id { get; set; } }