ExaminationBasic.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. package com.keao.edu.user.entity;
  2. import com.keao.edu.user.api.enums.ExamModeEnum;
  3. import com.keao.edu.user.enums.ExamStatusEnum;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import java.util.Date;
  7. import java.util.List;
  8. /**
  9. * 对应数据库表(examination_basic):
  10. */
  11. public class ExaminationBasic {
  12. @ApiModelProperty(value = "考级项目编号")
  13. private Long id;
  14. @ApiModelProperty(value = "项目名称")
  15. private String name;
  16. @ApiModelProperty(value = "考试模式")
  17. private ExamModeEnum examMode;
  18. @ApiModelProperty(value = "考点编号列表")
  19. private String examLocationIdList;
  20. @ApiModelProperty(value = "考点名称列表")
  21. private String examLocationNameList;
  22. @ApiModelProperty(value = "状态")
  23. private ExamStatusEnum status;
  24. @ApiModelProperty(value = "报名开始时间")
  25. private java.util.Date enrollStartTime;
  26. @ApiModelProperty(value = "报名结束时间")
  27. private java.util.Date enrollEndTime;
  28. @ApiModelProperty(value = "预计考试开始时间")
  29. private java.util.Date expectExamStartTime;
  30. @ApiModelProperty(value = "预计考试结束时间")
  31. private java.util.Date expectExamEndTime;
  32. @ApiModelProperty(value = "实际考试开始时间")
  33. private java.util.Date actualExamStartTime;
  34. @ApiModelProperty(value = "实际考试结束时间")
  35. private java.util.Date actualExamEndTime;
  36. @ApiModelProperty(value = "标题")
  37. private String posterTitle;
  38. @ApiModelProperty(value = "简介")
  39. private String posterProfile;
  40. @ApiModelProperty(value = "背景图")
  41. private String posterBackgroundImg;
  42. @ApiModelProperty(value = "自定义简章")
  43. private String customPoster;
  44. @ApiModelProperty(value = "合作单位编号")
  45. private Integer organId;
  46. @ApiModelProperty(value = "备注")
  47. private String memo;
  48. @ApiModelProperty(value = "考试地址")
  49. private List<ExamLocation> examLocations;
  50. private Integer creatorId;
  51. private java.util.Date createTime;
  52. private java.util.Date updateTime;
  53. private String tenantId;
  54. public ExaminationBasic() {
  55. }
  56. public ExaminationBasic(Long id, String name) {
  57. this.id = id;
  58. this.name = name;
  59. }
  60. public String getMemo() {
  61. return memo;
  62. }
  63. public void setMemo(String memo) {
  64. this.memo = memo;
  65. }
  66. public Long getId() {
  67. return id;
  68. }
  69. public void setId(Long id) {
  70. this.id = id;
  71. }
  72. public void setName(String name){
  73. this.name = name;
  74. }
  75. public String getName(){
  76. return this.name;
  77. }
  78. public void setExamLocationIdList(String examLocationIdList){
  79. this.examLocationIdList = examLocationIdList;
  80. }
  81. public String getExamLocationIdList(){
  82. return this.examLocationIdList;
  83. }
  84. public String getExamLocationNameList() {
  85. return examLocationNameList;
  86. }
  87. public void setExamLocationNameList(String examLocationNameList) {
  88. this.examLocationNameList = examLocationNameList;
  89. }
  90. public ExamModeEnum getExamMode() {
  91. return examMode;
  92. }
  93. public void setExamMode(ExamModeEnum examMode) {
  94. this.examMode = examMode;
  95. }
  96. public ExamStatusEnum getStatus() {
  97. return status;
  98. }
  99. public void setStatus(ExamStatusEnum status) {
  100. this.status = status;
  101. }
  102. public String getCustomPoster() {
  103. return customPoster;
  104. }
  105. public void setCustomPoster(String customPoster) {
  106. this.customPoster = customPoster;
  107. }
  108. public void setEnrollStartTime(java.util.Date enrollStartTime){
  109. this.enrollStartTime = enrollStartTime;
  110. }
  111. public java.util.Date getEnrollStartTime(){
  112. return this.enrollStartTime;
  113. }
  114. public void setEnrollEndTime(java.util.Date enrollEndTime){
  115. this.enrollEndTime = enrollEndTime;
  116. }
  117. public java.util.Date getEnrollEndTime(){
  118. return this.enrollEndTime;
  119. }
  120. public void setExpectExamStartTime(java.util.Date expectExamStartTime){
  121. this.expectExamStartTime = expectExamStartTime;
  122. }
  123. public java.util.Date getExpectExamStartTime(){
  124. return this.expectExamStartTime;
  125. }
  126. public void setExpectExamEndTime(java.util.Date expectExamEndTime){
  127. this.expectExamEndTime = expectExamEndTime;
  128. }
  129. public java.util.Date getExpectExamEndTime(){
  130. return this.expectExamEndTime;
  131. }
  132. public Date getActualExamStartTime() {
  133. return actualExamStartTime;
  134. }
  135. public void setActualExamStartTime(Date actualExamStartTime) {
  136. this.actualExamStartTime = actualExamStartTime;
  137. }
  138. public Date getActualExamEndTime() {
  139. return actualExamEndTime;
  140. }
  141. public void setActualExamEndTime(Date actualExamEndTime) {
  142. this.actualExamEndTime = actualExamEndTime;
  143. }
  144. public void setPosterTitle(String posterTitle){
  145. this.posterTitle = posterTitle;
  146. }
  147. public String getPosterTitle(){
  148. return this.posterTitle;
  149. }
  150. public void setPosterProfile(String posterProfile){
  151. this.posterProfile = posterProfile;
  152. }
  153. public String getPosterProfile(){
  154. return this.posterProfile;
  155. }
  156. public void setPosterBackgroundImg(String posterBackgroundImg){
  157. this.posterBackgroundImg = posterBackgroundImg;
  158. }
  159. public String getPosterBackgroundImg(){
  160. return this.posterBackgroundImg;
  161. }
  162. public Integer getOrganId() {
  163. return organId;
  164. }
  165. public void setOrganId(Integer organId) {
  166. this.organId = organId;
  167. }
  168. public void setCreateTime(java.util.Date createTime){
  169. this.createTime = createTime;
  170. }
  171. public java.util.Date getCreateTime(){
  172. return this.createTime;
  173. }
  174. public void setUpdateTime(java.util.Date updateTime){
  175. this.updateTime = updateTime;
  176. }
  177. public java.util.Date getUpdateTime(){
  178. return this.updateTime;
  179. }
  180. public void setTenantId(String tenantId){
  181. this.tenantId = tenantId;
  182. }
  183. public String getTenantId(){
  184. return this.tenantId;
  185. }
  186. public Integer getCreatorId() {
  187. return creatorId;
  188. }
  189. public void setCreatorId(Integer creatorId) {
  190. this.creatorId = creatorId;
  191. }
  192. public List<ExamLocation> getExamLocations() {
  193. return examLocations;
  194. }
  195. public void setExamLocations(List<ExamLocation> examLocations) {
  196. this.examLocations = examLocations;
  197. }
  198. @Override
  199. public String toString() {
  200. return ToStringBuilder.reflectionToString(this);
  201. }
  202. }