Нет описания

T_Call_CallRecords.cs 13KB

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