yzh
2022-06-07 dbda463cdacc6c6101acdf9d58e22450a281b9b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
 
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 string ProductId { get; set; }  //产品ID
        public int BasicNum { get; set; }  //基本条数
        public int GivingNum { get; set; }  //赠送条数
        public int DelFlag { get; set; }  //删除标志:0-正常;2-逻辑删除
        public int IsAutoReturn { get; set; }  //是否自动返还: 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; }
    }
}