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_custbalance", DisableSyncStructure = true)] public partial class ChCustbalance { [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string BSSOURCE { get; set; } [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string BSSOURCEDETAIL { get; set; } [JsonProperty, Column(DbType = "varchar(60)", IsPrimary = true, IsNullable = false)] public string CORPID { get; set; } [JsonProperty, Column(DbType = "varchar(30)", IsPrimary = true, IsNullable = false)] public string CURRENCY { get; set; } [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string CUSTOMERNAME { get; set; } [JsonProperty, Column(IsPrimary = true)] public short MONTH { get; set; } [JsonProperty, Column(DbType = "varchar(8)", IsPrimary = true, IsNullable = false)] public string OPLBNAME { get; set; } [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string SALE { get; set; } [JsonProperty, Column(DbType = "varchar(30)", IsPrimary = true, IsNullable = false)] public string SALEDEPT { get; set; } [JsonProperty, Column(IsPrimary = true)] public int YEAR { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHCR { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHCRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHCRSTL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHDR { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHDRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHDRSTL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLCR { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLCRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLCRSTL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLDR { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLDRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? MONTHTTLDRSTL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? UPMONTHCRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? UPMONTHDRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? UPMONTHTTLCRBAL { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? UPMONTHTTLDRBAL { get; set; } } }