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_invoicedetail", DisableSyncStructure = true)] public partial class ChFeeInvoicedetail { [JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? AMOUNT { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(30)")] public string GOODCODE { get; set; } [JsonProperty, Column(DbType = "varchar(60)")] public string GOODSNAME { get; set; } [JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)] public string PID { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? PKGS { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? PRICE { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(100)")] public string Remark { get; set; } [JsonProperty, Column(DbType = "numeric(27,0)")] public decimal SerialNo { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(30)")] public string SPEC { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? TAX { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? TAXPRICE { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? TAXRATE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string UNIT { get; set; } } }