using System; namespace Model { public class GwSp { private string _spId; private int _apId; private string _clientId; private int _strategyId; private string _channelType; private string _password; private string _clientIp; private int _clientPort; private string _accessCode; private long _balance; private int _priority; private int _price; private int _chargeType; private int _threshold; private int _maxConnCount; private DateTime _createTime; private DateTime _activateTime; private string _remark; private string _passingTime; private string _cmextparams; private string _ctextparams; private string _cuextparams; private int _verCodeMode;//验证码分流模式 private int _provincialNetworkMode;//省网分流模式 private int _id; private int _RESEND_CM_GROUPID;//补发通道组 private int _RESEND_CU_GROUPID; private int _RESEND_CT_GROUPID; private int _RESEND_STATUS; private int _TransferFlag;//携号转网设置。0启用,1停用 public int Id { get { return this._id; } set { this._id = value; } } public string SpID { get { return this._spId; } set { this._spId = value; } } public int ApID { get { return this._apId; } set { this._apId = value; } } public string ClientID { get { return this._clientId; } set { this._clientId = value; } } public int StrategyID { get { return this._strategyId; } set { this._strategyId = value; } } public string ChannelType { get { return this._channelType; } set { this._channelType = value; } } public string Password { get { return this._password; } set { this._password = value; } } public string ClientIp { get { return this._clientIp; } set { this._clientIp = value; } } public int ClientPort { get { return this._clientPort; } set { this._clientPort = value; } } public string AccessCode { get { return this._accessCode; } set { this._accessCode = value; } } public long Balance { get { return this._balance; } set { this._balance = value; } } public int Priority { get { return this._priority; } set { this._priority = value; } } public int Price { get { return this._price; } set { this._price = value; } } public int ChargeType { get { return this._chargeType; } set { this._chargeType = value; } } public int Threshold { get { return this._threshold; } set { this._threshold = value; } } public int MaxConnCount { get { return this._maxConnCount; } set { this._maxConnCount = value; } } public DateTime CreateTime { get { return this._createTime; } set { this._createTime = value; } } public DateTime ActivateTime { get { return this._activateTime; } set { this._activateTime = value; } } public string Remark { get { return this._remark; } set { this._remark = value; } } public string TimePermitting { get { return this._passingTime; } set { this._passingTime = value; } } public string CMextparms { get { return this._cmextparams; } set { this._cmextparams = value; } } public string CTextparams { get { return this._ctextparams; } set { this._ctextparams = value; } } public string CUextparams { get { return this._cuextparams; } set { this._cuextparams = value; } } public int DeductPercent { get; set; } public int AuditingMode { get; set; } public int CMOPID { get; set; } public int CTOPID { get; set; } public int UNOPID { get; set; } public int DefishingTimeout { get; set; } public int DefishingThreshold { get; set; } public int RejectIfForbidden { get; set; } public int RejectIfNoSignature { get; set; } public string Signatures { get; set; } public int RefundIfUndelivered { get; set; } public int RouterType { get; set; } public int Status { get; set; } public int AccessCodeMode { get; set; } public int ExtnoExtensionMode { get; set; } public DateTime ModifyTime { get; set; } public int DefishingOPID { get; set; } public int FeeLongLength { get; set; } public int FeeShortLength { get; set; } public int MCPM { get; set; } public string McExpression { get; set; } public int BlackMode { get; set; } public int DiverterID { get; set; } public string BlackModeText { get { return this.BlackMode == 1 ? "生效" : "不生效"; } } public string RouterTypeText { get { if (this.RouterType == 1) return "通道点路由"; if (this.RouterType == 2) return "号码段路由"; return this.RouterType == 3 ? "通道组路由" : ""; } } public string ChargerTypeText { get { return this.ChargeType == 2 ? "后付费" : "预付费"; } } public int SignatureMode { get; set; } public string SignatureModeText { get { if (this.SignatureMode == 1) return "后置校验"; return this.SignatureMode == 2 ? "前置校验" : "不校验签名"; } } public int CTGroupID { get; set; } public int CUGroupID { get; set; } public int CMGroupID { get; set; } public string AlarmMobile { get; set; } public int BalanceThreshold { get; set; } public int ForceSignFlag { get; set; } public string ForceSign { get; set; } public int CombinationMode { get; set; } //验证码、省网分流设置 public int ProvincialNetworkMode { get { return this._provincialNetworkMode; } set { this._provincialNetworkMode = value; } } public int VerCodeMode { get { return this._verCodeMode; } set { this._verCodeMode = value; } } public int RESEND_CM_GROUPID { get => _RESEND_CM_GROUPID; set => _RESEND_CM_GROUPID = value; } public int RESEND_CU_GROUPID { get => _RESEND_CU_GROUPID; set => _RESEND_CU_GROUPID = value; } public int RESEND_CT_GROUPID { get => _RESEND_CT_GROUPID; set => _RESEND_CT_GROUPID = value; } public int RESEND_STATUS { get => _RESEND_STATUS; set => _RESEND_STATUS = value; } public int TransferFlag { get => _TransferFlag; set => _TransferFlag = value; } } }