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 = "cw_accitems_gl", DisableSyncStructure = true)] public partial class CwAccitemsGl { /// /// 科目代码 /// [JsonProperty, Column(DbType = "varchar(16)", IsPrimary = true, IsNullable = false)] public string ACCID { get; set; } [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string STARTGID { get; set; } = ""; /// /// 年 /// [JsonProperty, Column(DbType = "varchar(4)", IsPrimary = true, IsNullable = false)] public string YEAR { get; set; } = ""; /// /// 科目属性(资产、负债、共同、权益、成本、损益) /// [JsonProperty, Column(DbType = "varchar(10)")] public string ACCATTRIBUTE { get; set; } = ""; /// /// 科目名称 /// [JsonProperty, Column(DbType = "varchar(60)")] public string ACCNAME { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string ACCTYPE { get; set; } = ""; /// /// 借贷方向 /// [JsonProperty, Column(DbType = "varchar(10)")] public string DC { get; set; } /// /// 末级科目(标志) /// [JsonProperty] public bool? DETAILED { get; set; } = true; /// /// 唯一编码 /// [JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 是否银行类科目 /// [JsonProperty] public bool? ISBANK { get; set; } = false; /// /// 是否算客户门 /// [JsonProperty] public bool? ISCORPACC { get; set; } = false; /// /// 是否核算部门 /// [JsonProperty] public bool? ISDEPTACC { get; set; } = false; /// /// 是否核算人员 /// [JsonProperty] public bool? ISEMPLACC { get; set; } = false; /// /// 是否启用 /// [JsonProperty] public bool? ISENABLE { get; set; } = false; /// /// 是否核算外币 /// [JsonProperty] public bool? ISFCY { get; set; } = false; /// /// 是否核算项目 /// [JsonProperty] public bool? ISITEMACC { get; set; } = false; /// /// 是否结算类科目 /// [JsonProperty] public bool? ISSETTLEMENT { get; set; } = false; /// /// 月 /// [JsonProperty, Column(DbType = "varchar(2)")] public string MONTH { get; set; } = ""; /// /// 父级科目代码 /// [JsonProperty, Column(DbType = "varchar(36)")] public string PACCGID { get; set; } = ""; /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(200)")] public string REMARKS { get; set; } } }