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.
74 lines
1.4 KiB
C#
74 lines
1.4 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.TruckMng.Models.CodeTruckPort
|
|
{
|
|
|
|
[JsonObject]
|
|
public class CodeTruckPort : ModelObjectBillHead
|
|
{
|
|
#region private Fields
|
|
|
|
private string _PORTID = Guid.NewGuid().ToString();
|
|
private string _PORTCODE = String.Empty;
|
|
private string _PORT = String.Empty;
|
|
private string _CODEANDNAME = String.Empty;
|
|
private string _PROVINCE = String.Empty;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string PORTID
|
|
{
|
|
get { return _PORTID; }
|
|
set { _PORTID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTCODE
|
|
{
|
|
get { return _PORTCODE; }
|
|
set { _PORTCODE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORT
|
|
{
|
|
get { return _PORT; }
|
|
set { _PORT = value; }
|
|
}
|
|
public string CODEANDNAME
|
|
{
|
|
get { return _CODEANDNAME; }
|
|
set { _CODEANDNAME = value; }
|
|
}
|
|
|
|
|
|
[ModelDB]
|
|
public string PROVINCE
|
|
{
|
|
get { return _PROVINCE; }
|
|
set { _PROVINCE = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public CodeTruckPort()
|
|
{
|
|
TableName = "code_truckport";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
}
|