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 = "tMsKfCgBody", DisableSyncStructure = true)] public partial class TMsKfCgBody { [JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)] public string BillNo { get; set; } [JsonProperty, Column(DbType = "numeric(27,0)", IsPrimary = true)] public decimal SerialNo { get; set; } = 0M; [JsonProperty, Column(DbType = "numeric(19,4)")] public decimal CgCount { get; set; } = 0M; [JsonProperty, Column(DbType = "numeric(19,2)")] public decimal CgTotal { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)] public string PluCode { get; set; } [JsonProperty, Column(DbType = "varchar(40)")] public string PluName { get; set; } [JsonProperty, Column(DbType = "numeric(19,4)")] public decimal Price { get; set; } = 0M; [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 = "varchar(40)")] public string Spec { get; set; } [JsonProperty, Column(DbType = "varchar(6)")] public string Unit { get; set; } } }