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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCodeLoadPort/LoadPortModel.cs

69 lines
1.2 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.CodeLoadPort
{
[JsonObject]
public class CodeLoadPort : ModelObjectBillHead
{
#region private Fields
private string _PORTID = Guid.NewGuid().ToString();
private string _PORT = String.Empty;
private string _CNAME = String.Empty;
private string _EDICODE = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string PORTID
{
get { return _PORTID; }
set { _PORTID = value; }
}
[ModelDB]
public string PORT
{
get { return _PORT; }
set { _PORT = value; }
}
[ModelDB]
public string CNAME
{
get { return _CNAME; }
set { _CNAME = value; }
}
public string EDICODE
{
get { return _EDICODE; }
set { _EDICODE = value; }
}
#endregion
public CodeLoadPort()
{
TableName = "code_loadport";
}
}
#region 参照部分
#endregion
}