You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.1 KiB
C#

10 months ago
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;
/// <summary>
/// 代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CTNID
{
set { _ctnid = value; }
get { return _ctnid; }
}
/// <summary>
/// 集装箱类型
/// </summary>
[ModelDB]
public string CTNSIZE
{
set { _ctnsize = value; }
get { return _ctnsize; }
}
/// <summary>
/// 集装箱尺寸
/// </summary>
[ModelDB]
public string CTNTYPE
{
set { _ctntype = value; }
get { return _ctntype; }
}
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string CTN
{
set { _ctn = value; }
get { return _ctn; }
}
/// <summary>
/// EDI代码
/// </summary>
[ModelDB]
public string EDICODE
{
set { _edicode = value; }
get { return _edicode; }
}
/// <summary>
/// 箱皮重
/// </summary>
[ModelDB]
public decimal? CTNWEIGHT
{
set { _ctnweight = value; }
get { return _ctnweight; }
}
/// <summary>
/// 英文说明
/// </summary>
[ModelDB]
public string EEXPLAIN
{
set { _eexplain = value; }
get { return _eexplain; }
}
/// <summary>
/// 中文说明
/// </summary>
[ModelDB]
public string CEXPLAIN
{
set { _cexplain = value; }
get { return _cexplain; }
}
/// <summary>
///
/// </summary>
[ModelDB]
public string AFRCODE
{
set { _afrcode = value; }
get { return _afrcode; }
}
/// <summary>
///
/// </summary>
[ModelDB]
public decimal? TEU
{
set { _teu = value; }
get { return _teu; }
}
/// <summary>
/// 默认限重
/// </summary>
[ModelDB]
public decimal? DLIKGS
{
set { _dlikgs = value; }
get { return _dlikgs; }
}
#endregion Model
}
}