| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
- /// <summary>
- /// 单号规则主数据(复刻 NbrControl)
- /// </summary>
- [SugarTable("NbrControl", "单号规则主数据(复刻 NbrControl)")]
- [SugarIndex("uk_NbrControl_domain_nbrtype", nameof(DomainCode), OrderByType.Asc, nameof(NbrType), OrderByType.Asc, IsUnique = true)]
- public class AdoS0NbrControl
- {
- [SugarColumn(ColumnName = "rec_id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")]
- public long CompanyRefId { get; set; }
- [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")]
- public long FactoryRefId { get; set; }
- [SugarColumn(ColumnName = "domain_code", ColumnDescription = "工厂域编码", Length = 50)]
- public string DomainCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "nbr_type", ColumnDescription = "单号类型编码", Length = 100)]
- public string NbrType { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "description", ColumnDescription = "描述", Length = 255, IsNullable = true)]
- public string? Description { get; set; }
- [SugarColumn(ColumnName = "nbr_pre1", ColumnDescription = "前缀1", Length = 50, IsNullable = true)]
- public string? NbrPre1 { get; set; }
- [SugarColumn(ColumnName = "nbr_pre2", ColumnDescription = "前缀2", Length = 50, IsNullable = true)]
- public string? NbrPre2 { get; set; }
- [SugarColumn(ColumnName = "nbr_pre3", ColumnDescription = "前缀3", Length = 50, IsNullable = true)]
- public string? NbrPre3 { get; set; }
- [SugarColumn(ColumnName = "ini_value", ColumnDescription = "初始值", IsNullable = true)]
- public int? IniValue { get; set; }
- [SugarColumn(ColumnName = "min_value", ColumnDescription = "最小值", IsNullable = true)]
- public int? MinValue { get; set; }
- [SugarColumn(ColumnName = "max_value", ColumnDescription = "最大值", IsNullable = true)]
- public int? MaxValue { get; set; }
- [SugarColumn(ColumnName = "allow_reset", ColumnDescription = "允许重置", ColumnDataType = "boolean")]
- public bool AllowReset { get; set; }
- [SugarColumn(ColumnName = "allow_skip", ColumnDescription = "允许跳号", ColumnDataType = "boolean")]
- public bool AllowSkip { get; set; }
- [SugarColumn(ColumnName = "allow_manual", ColumnDescription = "允许手动", ColumnDataType = "boolean")]
- public bool AllowManual { get; set; }
- [SugarColumn(ColumnName = "date_type", ColumnDescription = "日期类型", Length = 50, IsNullable = true)]
- public string? DateType { get; set; }
- [SugarColumn(ColumnName = "is_date_type", ColumnDescription = "是否含日期", ColumnDataType = "boolean")]
- public bool IsDateType { get; set; }
- [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
- public string? CreateUser { get; set; }
- [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")]
- public DateTime CreateTime { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
- public string? UpdateUser { get; set; }
- [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
- public DateTime? UpdateTime { get; set; }
- }
|