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 = "Import_Sales", DisableSyncStructure = true)] public partial class ImportSales { [JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? AMOUNT { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? AMOUNTRMB { get; set; } [JsonProperty] public byte? BSSTATUS { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string CARGONAME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string CORPID { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CURRENCY { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string CUSTOMERNAME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DELIVERYADDRESS { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DELIVERYCONTACTS { get; set; } [JsonProperty] public DateTime? DELIVERYDATE { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DELIVERYTEL { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DEPTGID { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? EXCHANGERATE { get; set; } [JsonProperty] public byte? FEESTATUS { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? FUNDRATE { get; set; } = 0M; [JsonProperty] public byte? ISMAKED { get; set; } = 0; [JsonProperty, Column(Name = "mainstate")] public byte? Mainstate { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(50)")] public string OP { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string REMARK { get; set; } [JsonProperty] public byte? REPLY { get; set; } = 0; [JsonProperty] public DateTime? SALESDATE { get; set; } [JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)] public string SALESNO { get; set; } [JsonProperty, Column(DbType = "timestamp")] public byte[] TIMEMARK { get; set; } } }