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.

111 lines
2.5 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsContainerSet
{
[JsonObject]
public class MsContainerSetEntity: ModelObjectBillHead
{
#region private Fields
private string _CTNID = Guid.NewGuid().ToString();
private string _CTNSIZE = "";
private string _CTNTYPE = "";
private string _CTN = "";
private string _EDICODE = "";
private string _CTNWEIGHT = "";
private string _EEXPLAIN = "";
private string _CEXPLAIN = "";
private string _AFRCODE = "";
private decimal _TEU;
private decimal _DLIKGS;
#endregion
public MsContainerSetEntity()
{
TableName = "code_ctn";
}
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CTNID
{
get { return _CTNID; }
set { _CTNID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CTNSIZE
{
get { return _CTNSIZE; }
set { _CTNSIZE = value; }
}
[ModelDB]
public string CTNTYPE
{
get { return _CTNTYPE; }
set { _CTNTYPE = value; }
}
[ModelDB]
public string CTN
{
get { return _CTN; }
set { _CTN = value; }
}
[ModelDB]
public string EDICODE
{
get { return _EDICODE; }
set { _EDICODE = value; }
}
[ModelDB]
public string CTNWEIGHT
{
get { return _CTNWEIGHT; }
set { _CTNWEIGHT = value; }
}
[ModelDB]
public string EEXPLAIN
{
get { return _EEXPLAIN; }
set { _EEXPLAIN = value; }
}
[ModelDB]
public string CEXPLAIN
{
get { return _CEXPLAIN; }
set { _CEXPLAIN = value; }
}
[ModelDB]
public string AFRCODE
{
get { return _AFRCODE; }
set { _AFRCODE = value; }
}
[ModelDB]
public decimal TEU
{
get { return _TEU; }
set { _TEU = value; }
}
[ModelDB]
public decimal DLIKGS
{
get { return _DLIKGS; }
set { _DLIKGS = value; }
}
#endregion
}
}