|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsInfoClientContact
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsClientContact : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _LINKID ="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string LINKID
|
|
|
|
|
{
|
|
|
|
|
get { return _LINKID; }
|
|
|
|
|
set { _LINKID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CODENAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CODENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CODENAME; }
|
|
|
|
|
set { _CODENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _SHORTNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 简称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHOWNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _SHORTNAME; }
|
|
|
|
|
set { _SHORTNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _addr = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ADDR
|
|
|
|
|
{
|
|
|
|
|
get { return _addr; }
|
|
|
|
|
set { _addr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _EMAIL = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EMAIL
|
|
|
|
|
{
|
|
|
|
|
get { return _EMAIL; }
|
|
|
|
|
set { _EMAIL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _TEL = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEL
|
|
|
|
|
{
|
|
|
|
|
get { return _TEL; }
|
|
|
|
|
set { _TEL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _QQ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QQ
|
|
|
|
|
{
|
|
|
|
|
get { return _QQ; }
|
|
|
|
|
set { _QQ = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _FAX = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FAX
|
|
|
|
|
{
|
|
|
|
|
get { return _FAX; }
|
|
|
|
|
set { _FAX = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MOBILE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MOBILE
|
|
|
|
|
{
|
|
|
|
|
get { return _MOBILE; }
|
|
|
|
|
set { _MOBILE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _JOB= "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string JOB
|
|
|
|
|
{
|
|
|
|
|
get { return _JOB; }
|
|
|
|
|
set { _JOB = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _SEX = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SEX
|
|
|
|
|
{
|
|
|
|
|
get { return _SEX; }
|
|
|
|
|
set { _SEX = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _AGE= "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string AGE
|
|
|
|
|
{
|
|
|
|
|
get { return _AGE; }
|
|
|
|
|
set { _AGE = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _MARRY = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MARRY
|
|
|
|
|
{
|
|
|
|
|
get { return _MARRY; }
|
|
|
|
|
set { _MARRY = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _CHILDREN = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CHILDREN
|
|
|
|
|
{
|
|
|
|
|
get { return _CHILDREN; }
|
|
|
|
|
set { _CHILDREN = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _HOBBIES = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HOBBIES
|
|
|
|
|
{
|
|
|
|
|
get { return _HOBBIES; }
|
|
|
|
|
set { _HOBBIES = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private bool _ISFINANCIALSTAFF = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISFINANCIALSTAFF
|
|
|
|
|
{
|
|
|
|
|
get { return _ISFINANCIALSTAFF; }
|
|
|
|
|
set { _ISFINANCIALSTAFF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISOPERATOR = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISOPERATOR
|
|
|
|
|
{
|
|
|
|
|
get { return _ISOPERATOR; }
|
|
|
|
|
set { _ISOPERATOR = value; }
|
|
|
|
|
}
|
|
|
|
|
private bool _ISSALEMAN = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISSALEMAN
|
|
|
|
|
{
|
|
|
|
|
get { return _ISSALEMAN; }
|
|
|
|
|
set { _ISSALEMAN = value; }
|
|
|
|
|
}
|
|
|
|
|
private bool _ISOTHER = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISOTHER
|
|
|
|
|
{
|
|
|
|
|
get { return _ISOTHER; }
|
|
|
|
|
set { _ISOTHER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISSTOP = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 停用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISSTOP
|
|
|
|
|
{
|
|
|
|
|
get { return _ISSTOP; }
|
|
|
|
|
set { _ISSTOP = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BIRTHDAY = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BIRTHDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _BIRTHDAY; }
|
|
|
|
|
set { _BIRTHDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISBIRTHDAY = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISBIRTHDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _ISBIRTHDAY; }
|
|
|
|
|
set { _ISBIRTHDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _BIRTHDAYDAY = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int BIRTHDAYDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _BIRTHDAYDAY; }
|
|
|
|
|
set { _BIRTHDAYDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ANNIVERSARY1 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ANNIVERSARY1
|
|
|
|
|
{
|
|
|
|
|
get { return _ANNIVERSARY1; }
|
|
|
|
|
set { _ANNIVERSARY1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISANNIVERSARY1 = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISANNIVERSARY1
|
|
|
|
|
{
|
|
|
|
|
get { return _ISANNIVERSARY1; }
|
|
|
|
|
set { _ISANNIVERSARY1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _ANNIVERSARYDAY1 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int ANNIVERSARYDAY1
|
|
|
|
|
{
|
|
|
|
|
get { return _ANNIVERSARYDAY1; }
|
|
|
|
|
set { _ANNIVERSARYDAY1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _AREMARK1 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string AREMARK1
|
|
|
|
|
{
|
|
|
|
|
get { return _AREMARK1; }
|
|
|
|
|
set { _AREMARK1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ANNIVERSARY2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ANNIVERSARY2
|
|
|
|
|
{
|
|
|
|
|
get { return _ANNIVERSARY2; }
|
|
|
|
|
set { _ANNIVERSARY2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISANNIVERSARY2 = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISANNIVERSARY2
|
|
|
|
|
{
|
|
|
|
|
get { return _ISANNIVERSARY2; }
|
|
|
|
|
set { _ISANNIVERSARY2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _ANNIVERSARYDAY2 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int ANNIVERSARYDAY2
|
|
|
|
|
{
|
|
|
|
|
get { return _ANNIVERSARYDAY2; }
|
|
|
|
|
set { _ANNIVERSARYDAY2= value; }
|
|
|
|
|
}
|
|
|
|
|
private string _AREMARK2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string AREMARK2
|
|
|
|
|
{
|
|
|
|
|
get { return _AREMARK2; }
|
|
|
|
|
set { _AREMARK2 = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _CREATEUSER = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSER; }
|
|
|
|
|
set { _CREATEUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CREATEUSERREF = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSERREF
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSERREF; }
|
|
|
|
|
set { _CREATEUSERREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _PICURL = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 录入人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PICURL
|
|
|
|
|
{
|
|
|
|
|
get { return _PICURL; }
|
|
|
|
|
set { _PICURL = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsClientContact()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_client_contact";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|