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 = "ch_fee_advance_payment", DisableSyncStructure = true)] public partial class ChFeeAdvancePayment { /// /// 惟一编号 /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 实录金额 /// [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? AMOUNT { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(50)")] public string BANKACCID { get; set; } /// /// 帐单编号 /// [JsonProperty, Column(DbType = "varchar(20)")] public string BILLNO { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(10)")] public string BLSTATUS { get; set; } /// /// 所属分公司 /// [JsonProperty, Column(DbType = "varchar(36)")] public string COMPANYID { get; set; } = ""; /// /// 录入时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? CREATETIME { get; set; } /// /// 录入人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string CREATEUSER { get; set; } = ""; /// /// 币别 /// [JsonProperty, Column(DbType = "varchar(20)")] public string CURRENCY { get; set; } = "RMB"; /// /// 客户名称 /// [JsonProperty, Column(DbType = "varchar(20)")] public string CUSTOMERNAME { get; set; } = ""; /// /// 删除操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? DELETETIME { get; set; } /// /// 删除操作人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string DELETEUSER { get; set; } = ""; /// /// 核销金额 /// [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? DOAMOUNT { get; set; } = 0M; [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? EXCHANGERATE { get; set; } /// /// 单据用途1收款2付款 /// [JsonProperty] public int? FEETYPE { get; set; } = 0; /// /// 是否已删除 /// [JsonProperty] public bool? ISDELETE { get; set; } = false; /// /// 是否全部完成核销 /// [JsonProperty] public bool? ISFINISH { get; set; } = false; [JsonProperty] public bool? ISVOU { get; set; } /// /// 结算单号GID /// [JsonProperty, Column(DbType = "varchar(36)")] public string LINKGID { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(200)")] public string REASON { get; set; } = ""; /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(1024)")] public string REMARK { get; set; } = ""; /// /// 核销结算时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? SETTLETIME { get; set; } /// /// 核销结算人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string SETTLEUSER { get; set; } = ""; /// /// 凭证号 /// [JsonProperty, Column(DbType = "varchar(100)")] public string VOUCHERNO { get; set; } = ""; } }