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 = "op_ctn", DisableSyncStructure = true)] public partial class OpCtn { /// /// 编号 /// [JsonProperty, Column(Name = "CTN_ID", DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string CTNID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 业务编号 /// [JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)] public string BSNO { get; set; } /// /// 尺码 /// [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? CBM { get; set; } = 0M; /// /// 箱号 /// [JsonProperty, Column(DbType = "varchar(30)")] public string CNTRNO { get; set; } /// /// 箱型 /// [JsonProperty, Column(DbType = "varchar(10)")] public string CTN { get; set; } /// /// 表现形式 /// [JsonProperty, Column(DbType = "varchar(10)")] public string CTNALL { get; set; } /// /// 箱型代码 /// [JsonProperty, Column(DbType = "varchar(4)")] public string CTNCODE { get; set; } [JsonProperty] public int? CTNDAY { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? CTNFEE { get; set; } /// /// 箱量 /// [JsonProperty] public int? CTNNUM { get; set; } = 0; [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? CTNPRICE { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string CTNSTATUS { get; set; } [JsonProperty] public int? FREECTNDAY { get; set; } [JsonProperty] public int? FREESTORAGEDAY { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string GOODSNAME { get; set; } = ""; /// /// 重量 /// [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? KGS { get; set; } = 0M; [JsonProperty, Column(DbType = "varchar(20)")] public string KINDPKGS { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string MASTERNO { get; set; } /// /// 件数 /// [JsonProperty] public int? PKGS { get; set; } = 0; /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(50)")] public string REMARK { get; set; } /// /// 封号 /// [JsonProperty, Column(DbType = "varchar(20)")] public string SEALNO { get; set; } /// /// 尺寸 /// [JsonProperty, Column(DbType = "varchar(3)")] public string SIZE { get; set; } [JsonProperty, Column(DbType = "varchar(10)")] public string StaVGM { get; set; } [JsonProperty] public int? STORAGEDAY { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? STORAGEFEE { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? STORAGEPRICE { get; set; } [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? TAREWEIGHT { get; set; } = 0M; /// /// TEU /// [JsonProperty] public int? TEU { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(20)")] public string TRUCKER { get; set; } [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? TRUCKFEE { get; set; } [JsonProperty, Column(DbType = "varchar(30)")] public string TRUCKNO { get; set; } [JsonProperty, Column(Name = "vgmconncom", DbType = "varchar(200)", IsNullable = false)] public string Vgmconncom { get; set; } = ""; /// /// VGM联系人 /// [JsonProperty, Column(DbType = "varchar(20)")] public string WEIGHATTN { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(20)")] public string WEIGHDATE { get; set; } /// /// 称重重量 /// [JsonProperty, Column(DbType = "numeric(18,3)")] public decimal? WEIGHKGS { get; set; } = 0M; /// /// VGM联系人签名 /// [JsonProperty, Column(DbType = "varchar(20)")] public string WEIGHSIGN { get; set; } = ""; /// /// VGM联系人电话 /// [JsonProperty, Column(DbType = "varchar(20)")] public string WEIGHTEL { get; set; } = ""; /// /// 称重方式 /// [JsonProperty, Column(DbType = "varchar(30)")] public string WEIGHTYPE { get; set; } = ""; } }