username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
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
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
    /// <summary>
    ///软件销售记录
    /// </summary>
    [Serializable]
    public partial class Soft_SellRecord : IAggregateRoot
    {
        public Soft_SellRecord()
        {
        }
 
        #region Model
 
        private int? _keyid;
        private Guid _clientid;
        private string _clientname;
        private int? _accountmanagerid;
        private int? _businessmanagerid;
        private int? _softid;
        private string _softname;
        private int? _softquantity;
        private int? _softunitprice;
        private int? _ordermoney;
        private int? _orderreceivemoney;
        private int? _orderstatus;
        private string _ordernum;
        private DateTime? _creattime;
        private DateTime? _lastupdatetime;
        private string _operator;
        private int? _visitstatus;
        private string _visitsoftscore;
        private string _visitsoftservers;
        private string _visitreason;
        private string _visitproposal;
        private string _visitpeople;
        private DateTime? _visittime;
        private int? _degreeimportanid;
        private string _mobile;
        private string _qq;
        private string _orderremark;
 
        /// <summary>
        /// 编号
        /// </summary>        
        public int? Keyid
        {
            get
            {
                return _keyid;
            }
            set
            {
                _keyid = value;
            }
        }
        /// <summary>
        /// 客户编号
        /// </summary>        
        public Guid ClientId
        {
            get
            {
                return _clientid;
            }
            set
            {
                _clientid = value;
            }
        }
        /// <summary>
        /// 客户名称
        /// </summary>        
        public string ClientName
        {
            get
            {
                return _clientname;
            }
            set
            {
                _clientname = value;
            }
        }
        /// <summary>
        /// 客户经理编号
        /// </summary>        
        public int? AccountManagerId
        {
            get
            {
                return _accountmanagerid;
            }
            set
            {
                _accountmanagerid = value;
            }
        }
        /// <summary>
        /// 业务经理编号
        /// </summary>        
        public int? BusinessManagerId
        {
            get
            {
                return _businessmanagerid;
            }
            set
            {
                _businessmanagerid = value;
            }
        }
        /// <summary>
        /// 软件编号
        /// </summary>        
        public int? SoftId
        {
            get
            {
                return _softid;
            }
            set
            {
                _softid = value;
            }
        }
        /// <summary>
        /// 软件名称
        /// </summary>        
        public string SoftName
        {
            get
            {
                return _softname;
            }
            set
            {
                _softname = value;
            }
        }
        /// <summary>
        /// 数量
        /// </summary>        
        public int? SoftQuantity
        {
            get
            {
                return _softquantity;
            }
            set
            {
                _softquantity = value;
            }
        }
        /// <summary>
        /// 单价
        /// </summary>        
        public int? SoftUnitprice
        {
            get
            {
                return _softunitprice;
            }
            set
            {
                _softunitprice = value;
            }
        }
        /// <summary>
        /// 订单金额
        /// </summary>        
        public int? OrderMoney
        {
            get
            {
                return _ordermoney;
            }
            set
            {
                _ordermoney = value;
            }
        }
        /// <summary>
        /// 订单已付金额
        /// </summary>        
        public int? OrderReceiveMoney
        {
            get
            {
                return _orderreceivemoney;
            }
            set
            {
                _orderreceivemoney = value;
            }
        }
        /// <summary>
        /// 订单状态
        /// </summary>        
        public int? OrderStatus
        {
            get
            {
                return _orderstatus;
            }
            set
            {
                _orderstatus = value;
            }
        }
        /// <summary>
        /// 订单号
        /// </summary>        
        public string OrderNum
        {
            get
            {
                return _ordernum;
            }
            set
            {
                _ordernum = value;
            }
        }
        /// <summary>
        /// 订单生成时间
        /// </summary>        
        public DateTime? CreatTime
        {
            get
            {
                return _creattime;
            }
            set
            {
                _creattime = value;
            }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>        
        public DateTime? LastUpdateTime
        {
            get
            {
                return _lastupdatetime;
            }
            set
            {
                _lastupdatetime = value;
            }
        }
        /// <summary>
        /// 操作人
        /// </summary>        
        public string Operator
        {
            get
            {
                return _operator;
            }
            set
            {
                _operator = value;
            }
        }
        /// <summary>
        /// 回访状态,1已回访/2未回访
        /// </summary>        
        public int? VisitStatus
        {
            get
            {
                return _visitstatus;
            }
            set
            {
                _visitstatus = value;
            }
        }
        /// <summary>
        /// 软件评分
        /// </summary>        
        public string VisitSoftScore
        {
            get
            {
                return _visitsoftscore;
            }
            set
            {
                _visitsoftscore = value;
            }
        }
        /// <summary>
        /// 服务评分
        /// </summary>        
        public string VisitSoftServers
        {
            get
            {
                return _visitsoftservers;
            }
            set
            {
                _visitsoftservers = value;
            }
        }
        /// <summary>
        /// 评分理由
        /// </summary>        
        public string VisitReason
        {
            get
            {
                return _visitreason;
            }
            set
            {
                _visitreason = value;
            }
        }
        /// <summary>
        /// 维护建议
        /// </summary>        
        public string VisitProposal
        {
            get
            {
                return _visitproposal;
            }
            set
            {
                _visitproposal = value;
            }
        }
        /// <summary>
        /// 回访人
        /// </summary>        
        public string VisitPeople
        {
            get
            {
                return _visitpeople;
            }
            set
            {
                _visitpeople = value;
            }
        }
        /// <summary>
        /// 回访时间
        /// </summary>        
        public DateTime? VisitTime
        {
            get
            {
                return _visittime;
            }
            set
            {
                _visittime = value;
            }
        }
        /// <summary>
        /// 重要程度
        /// </summary>        
        public int? DegreeImportanId
        {
            get
            {
                return _degreeimportanid;
            }
            set
            {
                _degreeimportanid = value;
            }
        }
        /// <summary>
        /// 短信
        /// </summary>        
        public string Mobile
        {
            get
            {
                return _mobile;
            }
            set
            {
                _mobile = value;
            }
        }
        /// <summary>
        /// QQ
        /// </summary>        
        public string QQ
        {
            get
            {
                return _qq;
            }
            set
            {
                _qq = value;
            }
        }
        /// <summary>
        /// 备注
        /// </summary>        
        public string OrderRemark
        {
            get
            {
                return _orderremark;
            }
            set
            {
                _orderremark = value;
            }
        }
 
 
        /// <summary>
        /// 客户经理
        /// </summary>
        public string AccountManagerName
        {
            get;
            set;
        }
        /// <summary>
        /// 业务经理
        /// </summary>
        public string BusinessManagerName
        {
            get;
            set;
        }
        /// <summary>
        /// 客户级别
        /// </summary>
        public string DegreeImportanName
        {
            get;
            set;
        }
        /// <summary>
        /// 统计总金额
        /// </summary>
        public int? AllMoney
        {
            get;
            set;
        }
        /// <summary>
        /// 统计已收金额
        /// </summary>
        public int? AllRecive
        {
            get;
            set;
        }
        /// <summary>
        /// 统计未收金额
        /// </summary>
        public int? AllBalance
        {
            get;
            set;
        }
 
        #endregion Model
 
        #region Visiter
 
        /// <summary>
        /// 属性访问器
        /// </summary>
        /// <param name="name">属性名</param>
        /// <param name="index">索引</param>
        /// <param name="isChange">是否将指定属性设置为传入值</param>
        /// <param name="value">需要赋予的值</param>
        /// <returns>与名称对应的属性值</returns>
        public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
        {
            object theValue = null;
            if ("Keyid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
            {
                this.Keyid = isChange ? MyConvert.ConvertToInt(value) : Keyid;
                theValue = this.Keyid;
            }
            else if ("ClientId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
            {
                this.ClientId = isChange ? MyConvert.ConvertToGuid(value) : ClientId;
                theValue = this.ClientId;
            }
            else if ("ClientName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
            {
                this.ClientName = isChange ? MyConvert.ConvertToString(value) : ClientName;
                theValue = this.ClientName;
            }
            else if ("AccountManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
            {
                this.AccountManagerId = isChange ? MyConvert.ConvertToInt(value) : AccountManagerId;
                theValue = this.AccountManagerId;
            }
            else if ("BusinessManagerId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
            {
                this.BusinessManagerId = isChange ? MyConvert.ConvertToInt(value) : BusinessManagerId;
                theValue = this.BusinessManagerId;
            }
            else if ("SoftId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
            {
                this.SoftId = isChange ? MyConvert.ConvertToInt(value) : SoftId;
                theValue = this.SoftId;
            }
            else if ("SoftName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
            {
                this.SoftName = isChange ? MyConvert.ConvertToString(value) : SoftName;
                theValue = this.SoftName;
            }
            else if ("SoftQuantity".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
            {
                this.SoftQuantity = isChange ? MyConvert.ConvertToInt(value) : SoftQuantity;
                theValue = this.SoftQuantity;
            }
            else if ("SoftUnitprice".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
            {
                this.SoftUnitprice = isChange ? MyConvert.ConvertToInt(value) : SoftUnitprice;
                theValue = this.SoftUnitprice;
            }
            else if ("OrderMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
            {
                this.OrderMoney = isChange ? MyConvert.ConvertToInt(value) : OrderMoney;
                theValue = this.OrderMoney;
            }
            else if ("OrderReceiveMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
            {
                this.OrderReceiveMoney = isChange ? MyConvert.ConvertToInt(value) : OrderReceiveMoney;
                theValue = this.OrderReceiveMoney;
            }
            else if ("OrderStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
            {
                this.OrderStatus = isChange ? MyConvert.ConvertToInt(value) : OrderStatus;
                theValue = this.OrderStatus;
            }
            else if ("OrderNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
            {
                this.OrderNum = isChange ? MyConvert.ConvertToString(value) : OrderNum;
                theValue = this.OrderNum;
            }
            else if ("CreatTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 14)
            {
                this.CreatTime = isChange ? MyConvert.ConvertToDateTime(value) : CreatTime;
                theValue = this.CreatTime;
            }
            else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 15)
            {
                this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
                theValue = this.LastUpdateTime;
            }
            else if ("Operator".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
            {
                this.Operator = isChange ? MyConvert.ConvertToString(value) : Operator;
                theValue = this.Operator;
            }
            else if ("VisitStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
            {
                this.VisitStatus = isChange ? MyConvert.ConvertToInt(value) : VisitStatus;
                theValue = this.VisitStatus;
            }
            else if ("VisitSoftScore".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
            {
                this.VisitSoftScore = isChange ? MyConvert.ConvertToString(value) : VisitSoftScore;
                theValue = this.VisitSoftScore;
            }
            else if ("VisitSoftServers".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 19)
            {
                this.VisitSoftServers = isChange ? MyConvert.ConvertToString(value) : VisitSoftServers;
                theValue = this.VisitSoftServers;
            }
            else if ("VisitReason".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 20)
            {
                this.VisitReason = isChange ? MyConvert.ConvertToString(value) : VisitReason;
                theValue = this.VisitReason;
            }
            else if ("VisitProposal".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
            {
                this.VisitProposal = isChange ? MyConvert.ConvertToString(value) : VisitProposal;
                theValue = this.VisitProposal;
            }
            else if ("VisitPeople".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
            {
                this.VisitPeople = isChange ? MyConvert.ConvertToString(value) : VisitPeople;
                theValue = this.VisitPeople;
            }
            else if ("VisitTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
            {
                this.VisitTime = isChange ? MyConvert.ConvertToDateTime(value) : VisitTime;
                theValue = this.VisitTime;
            }
            else if ("DegreeImportanId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
            {
                this.DegreeImportanId = isChange ? MyConvert.ConvertToInt(value) : DegreeImportanId;
                theValue = this.DegreeImportanId;
            }
            else if ("Mobile".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
            {
                this.Mobile = isChange ? MyConvert.ConvertToString(value) : Mobile;
                theValue = this.Mobile;
            }
            else if ("QQ".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
            {
                this.QQ = isChange ? MyConvert.ConvertToString(value) : QQ;
                theValue = this.QQ;
            }
            else if ("AccountManagerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
            {
                this.AccountManagerName = isChange ? MyConvert.ConvertToString(value) : AccountManagerName;
                theValue = this.AccountManagerName;
            }
            else if ("BusinessManagerName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
            {
                this.BusinessManagerName = isChange ? MyConvert.ConvertToString(value) : BusinessManagerName;
                theValue = this.BusinessManagerName;
            }
            else if ("DegreeImportanName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
            {
                this.DegreeImportanName = isChange ? MyConvert.ConvertToString(value) : DegreeImportanName;
                theValue = this.DegreeImportanName;
            }
            else if ("AllMoney".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
            {
                this.AllMoney = isChange ? MyConvert.ConvertToInt32(value) : AllMoney;
                theValue = this.AllMoney;
            }
            else if ("AllRecive".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
            {
                this.AllRecive = isChange ? MyConvert.ConvertToInt32(value) : AllRecive;
                theValue = this.AllRecive;
            }
            else if ("AllBalance".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31)
            {
                this.AllBalance = isChange ? MyConvert.ConvertToInt32(value) : AllBalance;
                theValue = this.AllBalance;
            }
            else if ("OrderRemark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32)
            {
                this.OrderRemark = isChange ? MyConvert.ConvertToString(value) : OrderRemark;
                theValue = this.OrderRemark;
            }
            return theValue;
        }
 
        #endregion Visiter
 
    }
}