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/TruckMng/Models/MsCodeTruckConsignee/TruckConsigneeModel.cs

113 lines
2.5 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.TruckMng.Models.CodeTruckConsignee
{
[JsonObject]
public class CodeTruckConsignee : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _CONSIGNEENAME = String.Empty;
private string _CONSIGNEETEL = String.Empty;
private string _CONSIGNEEATTN = String.Empty;
private string _CONSIGNEEADDR = String.Empty;
private string _DISTPORT = String.Empty;
private string _REMARKS;
private string _CREATEUSER;
private string _CREATEUSERREF;
private string _CREATETIME ="";//录入日期
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CONSIGNEENAME
{
get { return _CONSIGNEENAME; }
set { _CONSIGNEENAME = value; }
}
[ModelDB]
public string CONSIGNEETEL
{
get { return _CONSIGNEETEL; }
set { _CONSIGNEETEL = value; }
}
public string CONSIGNEEATTN
{
get { return _CONSIGNEEATTN; }
set { _CONSIGNEEATTN = value; }
}
[ModelDB]
public string CONSIGNEEADDR
{
get { return _CONSIGNEEADDR; }
set { _CONSIGNEEADDR = value; }
}
[ModelDB]
public string DISTPORT
{
get { return _DISTPORT; }
set { _DISTPORT = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
/// <summary>
[ModelDB]
public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
/// <summary>
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
#endregion
public CodeTruckConsignee()
{
TableName = "code_truck_consignee";
}
}
#region 参照部分
#endregion
}