web/Model/Model/GwClient.cs
@@ -6,8 +6,12 @@
namespace Model
{
    /// <summary>
    /// 账户类
    /// </summary>
    public class GwClient : ISessionObject
    {
        private List<string> _PermissionList = new List<string>();
        private string _clientId;
        private string _clientName;
@@ -23,6 +27,23 @@
        private Decimal _totalAmount;
        private Decimal _balance;
        private int _id;
        private int _certification_Status;//认证状态:0-未认证/1-已认证
        private int _client_Classes;//客户类别:0-企业/1-个人
        private string _client_Parentid; //父级账户
        private int _client_Type;//客户类型(0-直客/渠道、1-子账户)
        private int _is_Enable;//是否启用状态(1-启/0-停)
        private Decimal _top_up_Amount_Total;//累计充值(金额)
        private string _salesman;//归属业务员
        public string CustomerManager { get; set; } //归属客户经理
        public string SupportStaff { get; set; } //归属客服人员
        public string FinancialStaff { get; set; } //归属财务人员
        public int ChargeType { get; set; } //计费方式:1-预付费;2-后付费.
        public int SmsStatusReport { get; set; } //短信是否支持显示状态报告:0-不显示;1-只显示提交失败为发送失败状态;2-显示全部状态状态.
        public int MmsStatusReport { get; set; } //彩信是否支持显示状态报告:0-不显示;1-只显示提交失败为发送失败状态;2-显示全部状态状态.
        public int Id
        {
@@ -180,6 +201,15 @@
            }
        }
        public int Certification_Status { get => _certification_Status; set => _certification_Status = value; }
        public int Client_Classes { get => _client_Classes; set => _client_Classes = value; }
        public string Client_Parentid { get => _client_Parentid; set => _client_Parentid = value; }
        public int Client_Type { get => _client_Type; set => _client_Type = value; }
        public int Is_Enable { get => _is_Enable; set => _is_Enable = value; }
        public decimal Top_up_Amount_Total { get => _top_up_Amount_Total; set => _top_up_Amount_Total = value; }
        public string Salesman { get => _salesman; set => _salesman = value; }
        public bool HasRight(string functionID)
        {
            return this._PermissionList.Contains(functionID);