HsmsCallLogEntity.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. package com.dashitech.hsms.entity;
  2. import com.dashitech.utils.I18n;
  3. import org.springframework.format.annotation.DateTimeFormat;
  4. import javax.persistence.*;
  5. import java.io.Serializable;
  6. import java.util.Date;
  7. @Entity
  8. @Table(name = "itsm_call_log")
  9. public class HsmsCallLogEntity implements Serializable {
  10. private static final long serialVersionUID = 1L;
  11. @Id
  12. @GeneratedValue(strategy = GenerationType.IDENTITY)
  13. @Column(name="id",length = 20)
  14. private Long id;
  15. @I18n("version")
  16. @Column(name = "version")
  17. private Integer version;
  18. @I18n("来电科室")
  19. @Column(name = "call_dept")
  20. private String callDept;
  21. @I18n("通道号")
  22. @Column(name = "phyIDA")
  23. private String phyIDA;
  24. @I18n("主叫号码")
  25. @Column(name = "DTMFA")
  26. private String dTMFA;
  27. @I18n("被叫号码")
  28. @Column(name = "DTMFB")
  29. private String dTMFB;
  30. @I18n("录音起始时间")
  31. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  32. @Column(name = "response_time")
  33. private Date responseTime;
  34. @I18n("录音时长单位秒")
  35. @Column(name = "long_time")
  36. private String longTime;
  37. @I18n("原文件存放位置")
  38. @Column(name = "_path")
  39. private String path;
  40. @I18n("呼入呼出 1 呼入 0 呼出")
  41. @Column(name = "call_type")
  42. private Integer callType;
  43. @I18n("已接未接 1 已接 0 未接")
  44. @Column(name = "call_state")
  45. private Integer callState;
  46. @I18n("院区id")
  47. @Column(name = "hos_id")
  48. private Integer hosId;
  49. @I18n("通话流水")
  50. @Column(name = "call_accept")
  51. private String callAccept;
  52. public Integer getVersion() {
  53. return version;
  54. }
  55. public void setVersion(Integer version) {
  56. this.version = version;
  57. }
  58. public String getCallAccept() {
  59. return callAccept;
  60. }
  61. public void setCallAccept(String callAccept) {
  62. this.callAccept = callAccept;
  63. }
  64. public Integer getHosId() {
  65. return hosId;
  66. }
  67. public void setHosId(Integer hosId) {
  68. this.hosId = hosId;
  69. }
  70. public Long getId() {
  71. return id;
  72. }
  73. public void setId(Long id) {
  74. this.id = id;
  75. }
  76. public String getCallDept() {
  77. return callDept;
  78. }
  79. public void setCallDept(String callDept) {
  80. this.callDept = callDept;
  81. }
  82. public String getPhyIDA() {
  83. return phyIDA;
  84. }
  85. public void setPhyIDA(String phyIDA) {
  86. this.phyIDA = phyIDA;
  87. }
  88. public String getdTMFA() {
  89. return dTMFA;
  90. }
  91. public void setdTMFA(String dTMFA) {
  92. this.dTMFA = dTMFA;
  93. }
  94. public String getdTMFB() {
  95. return dTMFB;
  96. }
  97. public void setdTMFB(String dTMFB) {
  98. this.dTMFB = dTMFB;
  99. }
  100. public Date getResponseTime() {
  101. return responseTime;
  102. }
  103. public void setResponseTime(Date responseTime) {
  104. this.responseTime = responseTime;
  105. }
  106. public String getLongTime() {
  107. return longTime;
  108. }
  109. public void setLongTime(String longTime) {
  110. this.longTime = longTime;
  111. }
  112. public String getPath() {
  113. return path;
  114. }
  115. public void setPath(String path) {
  116. this.path = path;
  117. }
  118. public Integer getCallType() {
  119. return callType;
  120. }
  121. public void setCallType(Integer callType) {
  122. this.callType = callType;
  123. }
  124. public Integer getCallState() {
  125. return callState;
  126. }
  127. public void setCallState(Integer callState) {
  128. this.callState = callState;
  129. }
  130. }