|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsInfoShipper
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsInfoShipper : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _shipperID ="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string SHIPPERID
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperID; }
|
|
|
|
|
set { _shipperID = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _codename = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CODENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _codename; }
|
|
|
|
|
set { _codename = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CUSTOMERNAME= "";
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMERNAME; }
|
|
|
|
|
set { _CUSTOMERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _SHORTNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHORTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _SHORTNAME; }
|
|
|
|
|
set { _SHORTNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _shipperdetail = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHIPPERDETAIL
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperdetail; }
|
|
|
|
|
set { _shipperdetail = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int _shippertype =2;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int SHIPPERTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _shippertype; }
|
|
|
|
|
set { _shippertype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISPUBLIC =false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISPUBLIC
|
|
|
|
|
{
|
|
|
|
|
get { return _ISPUBLIC; }
|
|
|
|
|
set { _ISPUBLIC = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _SERVICECONTRACTNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SERVICECONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _SERVICECONTRACTNO; }
|
|
|
|
|
set { _SERVICECONTRACTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _COUNTRY = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string COUNTRY
|
|
|
|
|
{
|
|
|
|
|
get { return _COUNTRY; }
|
|
|
|
|
set { _COUNTRY = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _ATTN = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ATTN
|
|
|
|
|
{
|
|
|
|
|
get { return _ATTN; }
|
|
|
|
|
set { _ATTN = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _TEL = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEL
|
|
|
|
|
{
|
|
|
|
|
get { return _TEL; }
|
|
|
|
|
set { _TEL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _EMAIL = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EMAIL
|
|
|
|
|
{
|
|
|
|
|
get { return _EMAIL; }
|
|
|
|
|
set { _EMAIL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CORPID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _CORPID; }
|
|
|
|
|
set { _CORPID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsInfoShipper()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_shipper";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "CODENAME";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|