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_KC", DisableSyncStructure = true)] public partial class ImportKC { [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? Amount { get; set; } [JsonProperty, Column(Name = "cargo_id", DbType = "varchar(150)", IsNullable = false)] public string CargoId { get; set; } [JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)] public string ContractNo { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string CORPID { get; set; } [JsonProperty] public DateTime? CZdate { get; set; } [JsonProperty] public byte CZState { get; set; } = 0; [JsonProperty, Column(Name = "days")] public int? Days { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string DEPTGID { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string ENTEROPERATOR { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string FeeName { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string GID { get; set; } [JsonProperty, Column(Name = "id", IsIdentity = true)] public int Id { get; set; } [JsonProperty, Column(DbType = "numeric(8,2)")] public decimal InNum { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(50)")] public string KFstate { get; set; } = "0"; [JsonProperty, Column(DbType = "numeric(8,2)")] public decimal OutNum { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(50)")] public string PLEDGE { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? Quantity { get; set; } [JsonProperty] public byte? Sended { get; set; } [JsonProperty, Column(Name = "text", DbType = "varchar(150)")] public string Text { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TRUCKNO { get; set; } [JsonProperty, Column(DbType = "varchar(20)")] public string TRUCKTEL { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? UnitPrice { get; set; } [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? Weight { get; set; } } }