using System; using HcUtility.Core; using Newtonsoft.Json; using System.Collections.Generic; namespace DSWeb.MvcShipping.Models.MsCrmClient { [JsonObject] public class MsCrmClientVisit : ModelObjectBillHead { #region 读写属性 private string _GID = Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } private string _CLIENTGID = ""; [ModelDB] public string CLIENTGID { get { return _CLIENTGID; } set { _CLIENTGID = value; } } private string _SHORTNAME = ""; [ModelDB] public string SHORTNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } private string _CONTACTNAME = ""; /// /// 代码 /// [ModelDB] public string CONTACTNAME { get { return _CONTACTNAME; } set { _CONTACTNAME = value; } } private string _sale = ""; /// /// 揽货人 /// [ModelDB] public string SALE { get{ return _sale; } set{ _sale = value; } } private string _VISITTITLE = ""; /// /// /// [ModelDB] public string VISITTITLE { get { return _VISITTITLE; } set { _VISITTITLE = value; } } private string _VISITSTATUS = ""; /// /// /// [ModelDB] public string VISITSTATUS { get { return _VISITSTATUS; } set { _VISITSTATUS = value; } } private string _VISITWAY = ""; /// /// /// [ModelDB] public string VISITWAY { get { return _VISITWAY; } set { _VISITWAY = value; } } private string _VISITCONTENT = ""; /// /// /// [ModelDB] public string VISITCONTENT { get { return _VISITCONTENT; } set { _VISITCONTENT = value; } } private string _VISITDATE = ""; /// /// /// [ModelDB] public string VISITDATE { get { return _VISITDATE; } set { _VISITDATE = value; } } private string _NEXTACTION = ""; /// /// /// [ModelDB] public string NEXTACTION { get { return _NEXTACTION; } set { _NEXTACTION = value; } } private string _NEXTCONTENT = ""; /// /// /// [ModelDB] public string NEXTCONTENT { get { return _NEXTCONTENT; } set { _NEXTCONTENT = value; } } private string _NEXTDATE = ""; /// /// /// [ModelDB] public string NEXTDATE { get { return _NEXTDATE; } set { _NEXTDATE = value; } } private string _CREATEUSER = ""; /// /// 录入人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _CREATETIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm"); /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } #endregion public MsCrmClientVisit() { TableName = "crm_info_client_visit"; } override public string GetBillNoFieldName() { return "GID"; } public override string GetTimeMarkFieldName ( ) { return ""; } } [JsonObject] public class MsCrmClientVisitPlan : ModelObjectBillHead { #region 读写属性 private string _GID = Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } private string _CLIENTGID = ""; [ModelDB] public string CLIENTGID { get { return _CLIENTGID; } set { _CLIENTGID = value; } } private string _SHORTNAME = ""; [ModelDB] public string SHORTNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } private string _CONTACTNAME = ""; /// /// 代码 /// [ModelDB] public string CONTACTNAME { get { return _CONTACTNAME; } set { _CONTACTNAME = value; } } private string _sale = ""; /// /// 揽货人 /// [ModelDB] public string SALE { get { return _sale; } set { _sale = value; } } private string _VISITWAY = ""; /// /// /// [ModelDB] public string VISITWAY { get { return _VISITWAY; } set { _VISITWAY = value; } } private string _VISITCONTENT = ""; /// /// /// [ModelDB] public string VISITCONTENT { get { return _VISITCONTENT; } set { _VISITCONTENT = value; } } private string _VISITDATE = ""; /// /// /// [ModelDB] public string VISITDATE { get { return _VISITDATE; } set { _VISITDATE = value; } } private string _NEXTACTION = ""; /// /// /// [ModelDB] public string NEXTACTION { get { return _NEXTACTION; } set { _NEXTACTION = value; } } private string _NEXTCONTENT = ""; /// /// /// [ModelDB] public string NEXTCONTENT { get { return _NEXTCONTENT; } set { _NEXTCONTENT = value; } } private string _NEXTDATE = ""; /// /// /// [ModelDB] public string NEXTDATE { get { return _NEXTDATE; } set { _NEXTDATE = value; } } private string _CREATEUSER = ""; /// /// 录入人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _CREATETIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm"); /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } #endregion public MsCrmClientVisitPlan() { TableName = "crm_info_client_visit"; } override public string GetBillNoFieldName() { return "GID"; } public override string GetTimeMarkFieldName() { return ""; } } }