using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; using NPOI.SS.Formula.Functions; namespace DSWeb.MvcShipping.Models.MsSysThirdPartyAccount { [JsonObject] public class SysThirdPartyAccount : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _USERID;// private string _THIRDPARTY;// private string _ACCOUNT; private string _ACCOUNTPSW; private string _CREATEUSER; private string _CREATETIME; private string _MODIFIEDUSER; private string _MODIFIEDTIME; #endregion public SysThirdPartyAccount() { TableName = "sys_thidparty_account"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string USERID { get { return _USERID; } set { _USERID = value; } } [ModelDB] public string THIRDPARTY { get { return _THIRDPARTY; } set { _THIRDPARTY = value; } } [ModelDB] public string ACCOUNT { get { return _ACCOUNT; } set { _ACCOUNT = value; } } [ModelDB] public string ACCOUNTPSW { get { return _ACCOUNTPSW; } set { _ACCOUNTPSW = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } public string USERNAME { get; set; } [ModelDB] public string CUSTOMERNAME { get; set; } #endregion public bool HaveAccount() { if (string.IsNullOrWhiteSpace(_ACCOUNT)) { return false; } else { return true; } } } }