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_vouitems", DisableSyncStructure = true)] public partial class CwVouitems { /// /// 唯一编码 /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); [JsonProperty, Column(DbType = "varchar(500)")] public string ACCALL { get; set; } = ""; /// /// 科目代码 /// [JsonProperty, Column(DbType = "varchar(16)")] public string ACCID { get; set; } /// /// 科目名称 /// [JsonProperty, Column(DbType = "varchar(60)")] public string ACCNAME { get; set; } /// /// 本位币贷方金额(互斥) /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? AMTCR { get; set; } = 0M; /// /// 本位币借方金额(互斥) /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? AMTDR { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(30)", IsNullable = false)] public string BLNO { get; set; } = ""; /// /// 客户(系统) /// [JsonProperty, Column(DbType = "varchar(18)")] public string CORPID { get; set; } [JsonProperty, Column(DbType = "varchar(250)")] public string CUSTOMERNAME { get; set; } = ""; /// /// 借贷方向 /// [JsonProperty, Column(DbType = "varchar(2)")] public string DC { get; set; } [JsonProperty, Column(DbType = "varchar(36)")] public string DEPTGID { get; set; } = ""; /// /// 部门(系统) /// [JsonProperty, Column(DbType = "varchar(18)")] public string DEPTID { get; set; } /// /// 人员(系统) /// [JsonProperty, Column(DbType = "varchar(18)")] public string EMPLID { get; set; } /// /// 摘要,规则生成 /// [JsonProperty, Column(DbType = "varchar(600)")] public string EXPLAN { get; set; } /// /// 外币贷方金额 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? FCYCR { get; set; } = 0M; /// /// 外币借方金额 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? FCYDR { get; set; } = 0M; /// /// 汇率 /// [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? FCYEXRATE { get; set; } = 0M; /// /// 外币编号usd /// [JsonProperty, Column(DbType = "varchar(8)")] public string FCYNO { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD1 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD10 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD2 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD3 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD4 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD5 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD6 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD7 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD8 { get; set; } /// /// 预留字段1 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FIELD9 { get; set; } /// /// 结算方式 /// [JsonProperty, Column(DbType = "varchar(20)")] public string FSETTLCODE { get; set; } /// /// 财务辅助编号 /// [JsonProperty, Column(DbType = "varchar(20)")] public string FSETTLENO { get; set; } /// /// 科目级别 /// [JsonProperty] public int? GRADE { get; set; } = 0; /// /// 核算客户,按规则设置生成 /// [JsonProperty] public bool? ISCORPACC { get; set; } = false; /// /// 核算部门,按规则设置生成 /// [JsonProperty] public bool? ISDEPTACC { get; set; } = false; /// /// 核算人员,按规则设置生成 /// [JsonProperty] public bool? ISEMPLACC { get; set; } = false; /// /// 是否外币 /// [JsonProperty] public bool? ISFCY { get; set; } = false; /// /// 核算项目,按规则设置生成 /// [JsonProperty] public bool? ISITEMACC { get; set; } = false; /// /// 是否手动录入 /// [JsonProperty] public bool? ISSYS { get; set; } = false; [JsonProperty, Column(DbType = "varchar(36)")] public string ITEMGID { get; set; } = ""; /// /// 项目编号 /// [JsonProperty, Column(DbType = "varchar(50)")] public string ITEMID { get; set; } /// /// 行号 /// [JsonProperty] public int? ITEMNO { get; set; } /// /// 最后一次更新操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? MODIFIEDTIME { get; set; } /// /// 最后一次更新操作人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } /// /// 关联cw_vouchers /// [JsonProperty, Column(DbType = "varchar(36)")] public string ORDNO { get; set; } /// /// 父级科目代码 /// [JsonProperty, Column(DbType = "varchar(16)")] public string PACCID { get; set; } /// /// 父级项目编号 /// [JsonProperty] public int? PITEMID { get; set; } = 0; /// /// 科目属性 /// [JsonProperty] public int? PROPERTY { get; set; } = 0; /// /// 贷方数量 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? QTYCR { get; set; } = 0M; /// /// 借方数量 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? QTYDR { get; set; } = 0M; /// /// 数量包装单位 /// [JsonProperty, Column(DbType = "varchar(10)")] public string QTYUNIT { get; set; } [JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)] public string SALE { get; set; } = ""; } }