足力健后端,使用.netcore版本,合并1个项目使用

T_Call_CallOutbound.cs 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace System.Model.Call
  5. {
  6. /// <summary>
  7. /// 通话记录表
  8. /// </summary>
  9. [Serializable]
  10. public partial class T_Call_CallOutbound
  11. {
  12. public T_Call_CallOutbound()
  13. { }
  14. #region Model
  15. private int _id;
  16. private int _cdrid;
  17. private string _callid;
  18. private string _turnid;
  19. private string _callnumber;
  20. private string _relaynumber;
  21. private int? _cusid;
  22. private string _cuscode;
  23. private int? _calltype = 0;
  24. private int? _callstate;
  25. private int? _dealtype;
  26. private DateTime? _begintime = DateTime.Now;
  27. private DateTime? _ivrstarttime;
  28. private DateTime? _ivrendtime;
  29. private DateTime? _ringstarttime;
  30. private DateTime? _ringendtime;
  31. private DateTime? _talkstarttime;
  32. private DateTime? _talkendtime;
  33. private DateTime? _endtime = DateTime.Now;
  34. private int? _longtime;
  35. private int? _ivrlongtime;
  36. private int? _ringlongtime;
  37. private int? _talklongtime;
  38. private int? _userid;
  39. private string _usercode;
  40. private string _username;
  41. private string _extnumber;
  42. private string _filepath;
  43. private bool _isexitworkorder = false;
  44. private int? _isdeal = 0;
  45. private int? _operatetype;
  46. private string _operateobject;
  47. private DateTime? _operatetime;
  48. private string _remark;
  49. private int? _myd;
  50. private int? _businesstype;
  51. private string _location;
  52. private DateTime? _waitstarttime;
  53. private DateTime? _waitendtime;
  54. private int? _waitlongtime = 0;
  55. private int? _nocallstate = 0;
  56. private int? _worktimesdiff;
  57. private int? _f_qcstate = 0;
  58. private decimal? _f_qcscore = 0M;
  59. private string _f_qcremark;
  60. private int? _f_qcuserid;
  61. private string _f_qcusername;
  62. private DateTime? _f_qctime;
  63. private int? _f_qcisselect;
  64. private string _f_qcquestion;
  65. private string _f_qcadvise;
  66. private int? _f_zxreasonid;
  67. private int? _f_lsreasonid;
  68. private int? _f_zsreasonid;
  69. private string _tasktype;
  70. private string _taskphoneid;
  71. private string _taskid;
  72. private int? _actionid = 1;
  73. private int? _actiontype = 0;
  74. private string _groupcode;
  75. /// <summary>
  76. /// 来电Id
  77. /// </summary>
  78. public int Id
  79. {
  80. set { _id = value; }
  81. get { return _id; }
  82. }
  83. /// <summary>
  84. /// cdr自增id 用于同步
  85. /// </summary>
  86. public int CdrId
  87. {
  88. set { _cdrid = value; }
  89. get { return _cdrid; }
  90. }
  91. /// <summary>
  92. /// 电话流转ID 从始至终贯穿 无论中间换过多少次通话
  93. /// </summary>
  94. public string TurnId
  95. {
  96. set { _turnid = value; }
  97. get { return _turnid; }
  98. }
  99. /// <summary>
  100. /// 呼叫编号
  101. /// </summary>
  102. public string CallId
  103. {
  104. set { _callid = value; }
  105. get { return _callid; }
  106. }
  107. /// <summary>
  108. /// 主叫号码
  109. /// </summary>
  110. public string Caller
  111. {
  112. set { _callnumber = value; }
  113. get { return _callnumber; }
  114. }
  115. /// <summary>
  116. /// 客户id
  117. /// </summary>
  118. public int? CusId
  119. {
  120. set { _cusid = value; }
  121. get { return _cusid; }
  122. }
  123. /// <summary>
  124. /// 客户编号
  125. /// </summary>
  126. public string CusCode
  127. {
  128. set { _cuscode = value; }
  129. get { return _cuscode; }
  130. }
  131. /// <summary>
  132. /// 中继号
  133. /// </summary>
  134. public string RelayNumber
  135. {
  136. set { _relaynumber = value; }
  137. get { return _relaynumber; }
  138. }
  139. /// <summary>
  140. /// 呼叫类型,0呼入1呼出
  141. /// </summary>
  142. public int? CallType
  143. {
  144. set { _calltype = value; }
  145. get { return _calltype; }
  146. }
  147. /// <summary>
  148. /// 呼叫状态,0:未接通电话1已接通电话
  149. /// </summary>
  150. public int? CallState
  151. {
  152. set { _callstate = value; }
  153. get { return _callstate; }
  154. }
  155. /// <summary>
  156. /// 处理方式0:IVR处理1骚扰电话2自助服务3转值班电话4留言5呼损6人工处理
  157. /// </summary>
  158. public int? DealType
  159. {
  160. set { _dealtype = value; }
  161. get { return _dealtype; }
  162. }
  163. /// <summary>
  164. /// 开始时间
  165. /// </summary>
  166. public DateTime? BeginTime
  167. {
  168. set { _begintime = value; }
  169. get { return _begintime; }
  170. }
  171. /// <summary>
  172. /// ivr开始时间
  173. /// </summary>
  174. public DateTime? IvrStartTime
  175. {
  176. set { _ivrstarttime = value; }
  177. get { return _ivrstarttime; }
  178. }
  179. /// <summary>
  180. /// ivr结束时间
  181. /// </summary>
  182. public DateTime? IvrEndTime
  183. {
  184. set { _ivrendtime = value; }
  185. get { return _ivrendtime; }
  186. }
  187. /// <summary>
  188. /// 振铃开始时间
  189. /// </summary>
  190. public DateTime? RingStartTime
  191. {
  192. set { _ringstarttime = value; }
  193. get { return _ringstarttime; }
  194. }
  195. /// <summary>
  196. /// 振铃结束时间
  197. /// </summary>
  198. public DateTime? RingEndTime
  199. {
  200. set { _ringendtime = value; }
  201. get { return _ringendtime; }
  202. }
  203. /// <summary>
  204. /// 通话开始时间
  205. /// </summary>
  206. public DateTime? TalkStartTime
  207. {
  208. set { _talkstarttime = value; }
  209. get { return _talkstarttime; }
  210. }
  211. /// <summary>
  212. /// 通话结束时间
  213. /// </summary>
  214. public DateTime? TalkEndTime
  215. {
  216. set { _talkendtime = value; }
  217. get { return _talkendtime; }
  218. }
  219. /// <summary>
  220. /// 结束时间
  221. /// </summary>
  222. public DateTime? EndTime
  223. {
  224. set { _endtime = value; }
  225. get { return _endtime; }
  226. }
  227. /// <summary>
  228. /// 总时长(s)
  229. /// </summary>
  230. public int? LongTime
  231. {
  232. set { _longtime = value; }
  233. get { return _longtime; }
  234. }
  235. /// <summary>
  236. /// IVR时长(s)
  237. /// </summary>
  238. public int? IvrLongTime
  239. {
  240. set { _ivrlongtime = value; }
  241. get { return _ivrlongtime; }
  242. }
  243. /// <summary>
  244. /// 振铃时长(s)
  245. /// </summary>
  246. public int? RingLongTime
  247. {
  248. set { _ringlongtime = value; }
  249. get { return _ringlongtime; }
  250. }
  251. /// <summary>
  252. /// 通话时长(s)
  253. /// </summary>
  254. public int? TalkLongTime
  255. {
  256. set { _talklongtime = value; }
  257. get { return _talklongtime; }
  258. }
  259. /// <summary>
  260. /// 坐席id
  261. /// </summary>
  262. public int? UserId
  263. {
  264. set { _userid = value; }
  265. get { return _userid; }
  266. }
  267. /// <summary>
  268. /// 坐席工号
  269. /// </summary>
  270. public string UserCode
  271. {
  272. set { _usercode = value; }
  273. get { return _usercode; }
  274. }
  275. /// <summary>
  276. /// 坐席姓名
  277. /// </summary>
  278. public string UserName
  279. {
  280. set { _username = value; }
  281. get { return _username; }
  282. }
  283. /// <summary>
  284. /// 被叫号码 如果是座机显示的是 中继号后的分机号
  285. /// </summary>
  286. public string Callee
  287. {
  288. set { _extnumber = value; }
  289. get { return _extnumber; }
  290. }
  291. /// <summary>
  292. /// 用于获取录音的编号
  293. /// </summary>
  294. public string FilePath
  295. {
  296. set { _filepath = value; }
  297. get { return _filepath; }
  298. }
  299. /// <summary>
  300. /// 是否录入工单
  301. /// </summary>
  302. public bool IsExitWorkOrder
  303. {
  304. set { _isexitworkorder = value; }
  305. get { return _isexitworkorder; }
  306. }
  307. /// <summary>
  308. /// 是否处理0未处理1已处理2注销
  309. /// </summary>
  310. public int? IsDeal
  311. {
  312. set { _isdeal = value; }
  313. get { return _isdeal; }
  314. }
  315. /// <summary>
  316. /// 操作类型,0正常1转移2三方通话
  317. /// </summary>
  318. public int? OperateType
  319. {
  320. set { _operatetype = value; }
  321. get { return _operatetype; }
  322. }
  323. /// <summary>
  324. /// 操作目标
  325. /// </summary>
  326. public string OperateObject
  327. {
  328. set { _operateobject = value; }
  329. get { return _operateobject; }
  330. }
  331. /// <summary>
  332. /// 操作时间
  333. /// </summary>
  334. public DateTime? OperateTime
  335. {
  336. set { _operatetime = value; }
  337. get { return _operatetime; }
  338. }
  339. /// <summary>
  340. /// 备注
  341. /// </summary>
  342. public string Remark
  343. {
  344. set { _remark = value; }
  345. get { return _remark; }
  346. }
  347. /// <summary>
  348. /// 满意度,1非常满意、2基本满意、3不满意
  349. /// </summary>
  350. public int? MYD
  351. {
  352. set { _myd = value; }
  353. get { return _myd; }
  354. }
  355. /// <summary>
  356. /// IVR中选择的业务类型
  357. /// </summary>
  358. public int? BusinessType
  359. {
  360. set { _businesstype = value; }
  361. get { return _businesstype; }
  362. }
  363. /// <summary>
  364. ///
  365. /// </summary>
  366. public string Location
  367. {
  368. set { _location = value; }
  369. get { return _location; }
  370. }
  371. /// <summary>
  372. /// 排队开始时间
  373. /// </summary>
  374. public DateTime? WaitStartTime
  375. {
  376. set { _waitstarttime = value; }
  377. get { return _waitstarttime; }
  378. }
  379. /// <summary>
  380. /// 排队结束时间
  381. /// </summary>
  382. public DateTime? WaitEndTime
  383. {
  384. set { _waitendtime = value; }
  385. get { return _waitendtime; }
  386. }
  387. /// <summary>
  388. /// 排队时长
  389. /// </summary>
  390. public int? WaitLongTime
  391. {
  392. set { _waitlongtime = value; }
  393. get { return _waitlongtime; }
  394. }
  395. /// <summary>
  396. /// 未接通状态(0其他、1坐席未登录、2坐席忙、3振铃)
  397. /// </summary>
  398. public int? NoCallState
  399. {
  400. set { _nocallstate = value; }
  401. get { return _nocallstate; }
  402. }
  403. /// <summary>
  404. /// 与工作时间间隔秒数
  405. /// </summary>
  406. public int? WorkTimesDiff
  407. {
  408. set { _worktimesdiff = value; }
  409. get { return _worktimesdiff; }
  410. }
  411. #region 质检
  412. /// <summary>
  413. /// 质检状态(0未质检、1已质检)
  414. /// </summary>
  415. public int? F_QCState
  416. {
  417. set { _f_qcstate = value; }
  418. get { return _f_qcstate; }
  419. }
  420. /// <summary>
  421. /// 质检分值
  422. /// </summary>
  423. public decimal? F_QCScore
  424. {
  425. set { _f_qcscore = value; }
  426. get { return _f_qcscore; }
  427. }
  428. /// <summary>
  429. /// 质检备注
  430. /// </summary>
  431. public string F_QCRemark
  432. {
  433. set { _f_qcremark = value; }
  434. get { return _f_qcremark; }
  435. }
  436. /// <summary>
  437. /// 质检人Id
  438. /// </summary>
  439. public int? F_QCUserId
  440. {
  441. set { _f_qcuserid = value; }
  442. get { return _f_qcuserid; }
  443. }
  444. /// <summary>
  445. /// 质检人名称
  446. /// </summary>
  447. public string F_QCUserName
  448. {
  449. set { _f_qcusername = value; }
  450. get { return _f_qcusername; }
  451. }
  452. /// <summary>
  453. /// 质检时间
  454. /// </summary>
  455. public DateTime? F_QCTime
  456. {
  457. set { _f_qctime = value; }
  458. get { return _f_qctime; }
  459. }
  460. /// <summary>
  461. /// 质检客服-存在的问题
  462. /// </summary>
  463. public string F_QCQuestion
  464. {
  465. set { _f_qcquestion = value; }
  466. get { return _f_qcquestion; }
  467. }
  468. /// <summary>
  469. /// 质检客服-修改意见
  470. /// </summary>
  471. public string F_QCAdvise
  472. {
  473. set { _f_qcadvise = value; }
  474. get { return _f_qcadvise; }
  475. }
  476. #endregion
  477. /// <summary>
  478. /// 是否推荐
  479. /// </summary>
  480. public int? F_QCIsSelect
  481. {
  482. set { _f_qcisselect = value; }
  483. get { return _f_qcisselect; }
  484. }
  485. /// <summary>
  486. /// 咨询来电原因ID
  487. /// </summary>
  488. public int? F_ZXReasonID
  489. {
  490. set { _f_zxreasonid = value; }
  491. get { return _f_zxreasonid; }
  492. }
  493. /// <summary>
  494. /// 临时来电原因ID
  495. /// </summary>
  496. public int? F_LSReasonID
  497. {
  498. set { _f_lsreasonid = value; }
  499. get { return _f_lsreasonid; }
  500. }
  501. /// <summary>
  502. /// 招商来电原因ID
  503. /// </summary>
  504. public int? F_ZSReasonID
  505. {
  506. set { _f_zsreasonid = value; }
  507. get { return _f_zsreasonid; }
  508. }
  509. /// <summary>
  510. /// 拨号类型:0:拨号外呼;1:95005回访外呼;2:电销回访外呼
  511. /// </summary>
  512. public string TaskType
  513. {
  514. set { _tasktype = value; }
  515. get { return _tasktype; }
  516. }
  517. /// <summary>
  518. /// 回访的电话ID
  519. /// </summary>
  520. public string TaskPhoneID
  521. {
  522. set { _taskphoneid = value; }
  523. get { return _taskphoneid; }
  524. }
  525. /// <summary>
  526. /// 回访记录编号:GUID编号唯一
  527. /// </summary>
  528. public string TaskID
  529. {
  530. set { _taskid = value; }
  531. get { return _taskid; }
  532. }
  533. /// <summary>
  534. /// 区别正常呼入呼出、转移、三方通话
  535. /// </summary>
  536. public int? ActionID
  537. {
  538. set { _actionid = value; }
  539. get { return _actionid; }
  540. }
  541. /// <summary>
  542. /// 1正常呼入呼出、2转移、3三方通话
  543. /// </summary>
  544. public int? ActionType
  545. {
  546. set { _actiontype = value; }
  547. get { return _actiontype; }
  548. }
  549. /// <summary>
  550. ///
  551. /// </summary>
  552. public string GroupCode
  553. {
  554. set { _groupcode = value; }
  555. get { return _groupcode; }
  556. }
  557. #endregion Model
  558. }
  559. }