UserConfig.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. package com.api.games.model;
  2. import java.io.Serializable;
  3. import javax.persistence.*;
  4. @Table(name = "user_config")
  5. public class UserConfig implements Serializable {
  6. @Id
  7. @GeneratedValue(strategy = GenerationType.IDENTITY)
  8. private Long id;
  9. @Column(name = "user_id")
  10. private Long userId;
  11. @Column(name = "scale_end")
  12. private String scaleEnd;
  13. @Column(name = "scale_start")
  14. private String scaleStart;
  15. @Column(name = "scale_time")
  16. private String scaleTime;
  17. @Column(name = "show_time")
  18. private Integer showTime;
  19. @Column(name = "hide_time")
  20. private Integer hideTime;
  21. private Integer correct;
  22. private Integer supporting;
  23. private Integer practice;
  24. @Column(name = "game_count")
  25. private Integer gameCount;
  26. private String version;
  27. @Column(name = "exercise_right")
  28. private Integer exerciseRight;
  29. private Integer exercise;
  30. @Column(name = "login_out")
  31. private Integer loginOut;
  32. private static final long serialVersionUID = 1L;
  33. /**
  34. * @return id
  35. */
  36. public Long getId() {
  37. return id;
  38. }
  39. /**
  40. * @param id
  41. */
  42. public void setId(Long id) {
  43. this.id = id;
  44. }
  45. /**
  46. * @return user_id
  47. */
  48. public Long getUserId() {
  49. return userId;
  50. }
  51. /**
  52. * @param userId
  53. */
  54. public void setUserId(Long userId) {
  55. this.userId = userId;
  56. }
  57. /**
  58. * @return scale_end
  59. */
  60. public String getScaleEnd() {
  61. return scaleEnd;
  62. }
  63. /**
  64. * @param scaleEnd
  65. */
  66. public void setScaleEnd(String scaleEnd) {
  67. this.scaleEnd = scaleEnd;
  68. }
  69. /**
  70. * @return scale_start
  71. */
  72. public String getScaleStart() {
  73. return scaleStart;
  74. }
  75. /**
  76. * @param scaleStart
  77. */
  78. public void setScaleStart(String scaleStart) {
  79. this.scaleStart = scaleStart;
  80. }
  81. /**
  82. * @return scale_time
  83. */
  84. public String getScaleTime() {
  85. return scaleTime;
  86. }
  87. /**
  88. * @param scaleTime
  89. */
  90. public void setScaleTime(String scaleTime) {
  91. this.scaleTime = scaleTime;
  92. }
  93. /**
  94. * @return show_time
  95. */
  96. public Integer getShowTime() {
  97. return showTime;
  98. }
  99. /**
  100. * @param showTime
  101. */
  102. public void setShowTime(Integer showTime) {
  103. this.showTime = showTime;
  104. }
  105. /**
  106. * @return hide_time
  107. */
  108. public Integer getHideTime() {
  109. return hideTime;
  110. }
  111. /**
  112. * @param hideTime
  113. */
  114. public void setHideTime(Integer hideTime) {
  115. this.hideTime = hideTime;
  116. }
  117. /**
  118. * @return correct
  119. */
  120. public Integer getCorrect() {
  121. return correct;
  122. }
  123. /**
  124. * @param correct
  125. */
  126. public void setCorrect(Integer correct) {
  127. this.correct = correct;
  128. }
  129. /**
  130. * @return supporting
  131. */
  132. public Integer getSupporting() {
  133. return supporting;
  134. }
  135. /**
  136. * @param supporting
  137. */
  138. public void setSupporting(Integer supporting) {
  139. this.supporting = supporting;
  140. }
  141. /**
  142. * @return practice
  143. */
  144. public Integer getPractice() {
  145. return practice;
  146. }
  147. /**
  148. * @param practice
  149. */
  150. public void setPractice(Integer practice) {
  151. this.practice = practice;
  152. }
  153. /**
  154. * @return game_count
  155. */
  156. public Integer getGameCount() {
  157. return gameCount;
  158. }
  159. /**
  160. * @param gameCount
  161. */
  162. public void setGameCount(Integer gameCount) {
  163. this.gameCount = gameCount;
  164. }
  165. /**
  166. * @return version
  167. */
  168. public String getVersion() {
  169. return version;
  170. }
  171. /**
  172. * @param version
  173. */
  174. public void setVersion(String version) {
  175. this.version = version;
  176. }
  177. /**
  178. * @return exercise
  179. */
  180. public Integer getExercise() {
  181. return exercise;
  182. }
  183. /**
  184. * @param exercise
  185. */
  186. public void setExercise(Integer exercise) {
  187. this.exercise = exercise;
  188. }
  189. /**
  190. * @return login_out
  191. */
  192. public Integer getLoginOut() {
  193. return loginOut;
  194. }
  195. /**
  196. * @param loginOut
  197. */
  198. public void setLoginOut(Integer loginOut) {
  199. this.loginOut = loginOut;
  200. }
  201. public Integer getExerciseRight() {
  202. return exerciseRight;
  203. }
  204. public void setExerciseRight(Integer exerciseRight) {
  205. this.exerciseRight = exerciseRight;
  206. }
  207. }