using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities { /// ///标签序列号流水记录表 /// [SugarTable("prd_serial_book")] public partial class PrdSerialBook { public PrdSerialBook(){ } /// /// Desc:编号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true)] public string id {get;set;} = SnowflakeIdHelper.NextId(); /// /// Desc:所属组织 /// Default:NULL::character varying /// Nullable:True /// public string? org_id {get;set;} /// /// Desc:条码类型 /// Default: /// Nullable:False /// public string sn_type {get;set;} = string.Empty; /// /// Desc:前缀 /// Default: /// Nullable:False /// public string prefix {get;set;} = string.Empty; /// /// Desc:年度 /// Default: /// Nullable:False /// public int year {get;set;} /// /// Desc:季度 /// Default: /// Nullable:False /// public int quarter {get;set;} /// /// Desc:月份 /// Default: /// Nullable:False /// public int month {get;set;} /// /// Desc:周别 /// Default: /// Nullable:False /// public int week {get;set;} /// /// Desc:日期 /// Default: /// Nullable:False /// public int date {get;set;} /// /// Desc:最大流水号 /// Default: /// Nullable:False /// public string max_serial {get;set;} = string.Empty; /// /// Desc:时间戳 /// Default:NULL::character varying /// Nullable:True /// public string? time_stamp {get;set;} /// /// Desc:创建用户 /// Default:NULL::character varying /// Nullable:True /// public string? create_id {get;set;} /// /// Desc:创建时间 /// Default: /// Nullable:True /// public DateTime? create_time {get;set;} /// /// Desc:修改用户 /// Default:NULL::character varying /// Nullable:True /// public string? modify_id {get;set;} /// /// Desc:修改时间 /// Default: /// Nullable:True /// public DateTime? modify_time {get;set;} /// /// Desc:扩展字段 /// Default: /// Nullable:True /// public string? extras {get;set;} } }