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_detail", DisableSyncStructure = true)] public partial class OpCtnDetail { [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 尺码 /// [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? CBM { get; set; } = 0M; [JsonProperty, Column(Name = "CTN_ID", DbType = "varchar(36)", IsNullable = false)] public string CTNID { get; set; } = ""; /// /// 货物描述 /// [JsonProperty, Column(DbType = "varchar(2000)")] public string DESCRIPTION { get; set; } = ""; /// /// HS编码 /// [JsonProperty, Column(DbType = "varchar(10)")] public string HSCODE { get; set; } = ""; [JsonProperty, Column(IsIdentity = true)] public int ID { get; set; } /// /// 重量 /// [JsonProperty, Column(DbType = "numeric(18,4)")] public decimal? KGS { get; set; } = 0M; /// /// 件数包装 /// [JsonProperty, Column(DbType = "varchar(20)")] public string KINDPKGS { get; set; } = ""; /// /// 唛头 /// [JsonProperty, Column(DbType = "varchar(600)")] public string MARKS { get; set; } = ""; /// /// 件数 /// [JsonProperty] public int? PKGS { get; set; } = 0; /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(100)")] public string REMARK { get; set; } = ""; } }