using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.CodeCtnSet { [JsonObject] public class CodeCtnSet : ModelObjectBillHead { public CodeCtnSet() { TableName = "code_ctn"; } #region Model private string _ctnid = Guid.NewGuid().ToString(); private string _ctnsize= String.Empty; private string _ctntype= String.Empty; private string _ctn= String.Empty; private string _edicode = String.Empty; private decimal? _ctnweight = 0M; private string _eexplain = String.Empty; private string _cexplain = String.Empty; private string _afrcode = String.Empty; private decimal? _teu = 0M; private decimal? _dlikgs = 0M; /// /// 代码 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string CTNID { set { _ctnid = value; } get { return _ctnid; } } /// /// 集装箱类型 /// [ModelDB] public string CTNSIZE { set { _ctnsize = value; } get { return _ctnsize; } } /// /// 集装箱尺寸 /// [ModelDB] public string CTNTYPE { set { _ctntype = value; } get { return _ctntype; } } /// /// 表现形式 /// [ModelDB] public string CTN { set { _ctn = value; } get { return _ctn; } } /// /// EDI代码 /// [ModelDB] public string EDICODE { set { _edicode = value; } get { return _edicode; } } /// /// 箱皮重 /// [ModelDB] public decimal? CTNWEIGHT { set { _ctnweight = value; } get { return _ctnweight; } } /// /// 英文说明 /// [ModelDB] public string EEXPLAIN { set { _eexplain = value; } get { return _eexplain; } } /// /// 中文说明 /// [ModelDB] public string CEXPLAIN { set { _cexplain = value; } get { return _cexplain; } } /// /// /// [ModelDB] public string AFRCODE { set { _afrcode = value; } get { return _afrcode; } } /// /// /// [ModelDB] public decimal? TEU { set { _teu = value; } get { return _teu; } } /// /// 默认限重 /// [ModelDB] public decimal? DLIKGS { set { _dlikgs = value; } get { return _dlikgs; } } #endregion Model } }