using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities { /// ///时间日历规则 /// [SugarTable("bas_time_calendar_rule")] public partial class BasTimeCalendarRule { public BasTimeCalendarRule(){ } /// /// 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:年份(1900,9999) /// Default: /// Nullable:False /// public int year {get;set;} /// /// Desc:周的第一天(1,7) /// Default: /// Nullable:False /// public string firstdayofweek {get;set;} = string.Empty; /// /// Desc:工作日 /// Default: /// Nullable:False /// public string workday {get;set;} = string.Empty; /// /// Desc:时间戳(用于并发控制) /// Default:NULL::character varying /// Nullable:True /// public string? timestamp {get;set;} /// /// Desc:创建用户 /// Default:NULL::character varying /// Nullable:True /// public string? create_id {get;set;} /// /// Desc:创建时间 /// Default: /// Nullable:False /// 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;} /// /// Desc:周的第一天 /// Default: /// Nullable:True /// public string? firstdayofweek_name {get;set;} } }