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 = "tMsKfCgHead", DisableSyncStructure = true)] public partial class TMsKfCgHead { [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string BillNo { get; set; } = "*"; [JsonProperty, Column(DbType = "numeric(19,4)")] public decimal CgCount { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(10)")] public string CgDate { get; set; } [JsonProperty, Column(DbType = "numeric(19,2)")] public decimal CgTotal { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(6)")] public string CgyCode { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CgyName { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CkCode { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string CkName { get; set; } [JsonProperty] public DateTime? JzDate { get; set; } [JsonProperty] public DateTime? LrDate { get; set; } [JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)] public string OrgCode { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string OrgName { get; set; } [JsonProperty, Column(DbType = "varchar(4)", IsNullable = false)] public string PluType { get; set; } = "11"; [JsonProperty, Column(DbType = "varchar(100)")] public string Remark { get; set; } [JsonProperty, Column(DbType = "numeric(19,4)")] public decimal SdCount { get; set; } = 0M; [JsonProperty, Column(DbType = "numeric(27,0)")] public decimal? TimeMark { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(6)")] public string UserCode { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string UserName { get; set; } [JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)] public string ZxFlag { get; set; } = "0"; } }