using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { [JsonObject(MemberSerialization.OptIn), Table(Name = "code_rule_no", DisableSyncStructure = true)] public partial class CodeRuleNo { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 规则内容 /// [JsonProperty, Column(DbType = "varchar(20)")] public string RULEBLNO { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string RULECODE { get; set; } /// /// 规则中是是使启用部门代码 /// [JsonProperty, Column(DbType = "varchar(20)")] public string RULEDATETYPE { get; set; } = "0"; [JsonProperty, Column(DbType = "varchar(20)")] public string RULENAME { get; set; } /// /// 规则内容 /// [JsonProperty] public int? RULETYPE { get; set; } } }