InputUserAbility.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. package com.goafanti.user.bo;
  2. import javax.validation.constraints.Size;
  3. import com.goafanti.common.constant.ErrorConstants;
  4. public class InputUserAbility {
  5. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  6. private String id;
  7. @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  8. private String uid;
  9. @Size(min = 0, max = 255, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  10. private String abilityLabel;
  11. @Size(min = 0, max = 300, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  12. private String intellectRight;
  13. @Size(min = 0, max = 300, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  14. private String scienceAchievement;
  15. @Size(min = 0, max = 300, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  16. private String researchInnovation;
  17. @Size(min = 0, max = 300, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
  18. private String personnel;
  19. public String getId() {
  20. return id;
  21. }
  22. public void setId(String id) {
  23. this.id = id;
  24. }
  25. public String getUid() {
  26. return uid;
  27. }
  28. public void setUid(String uid) {
  29. this.uid = uid;
  30. }
  31. public String getAbilityLabel() {
  32. return abilityLabel;
  33. }
  34. public void setAbilityLabel(String abilityLabel) {
  35. this.abilityLabel = abilityLabel;
  36. }
  37. public String getIntellectRight() {
  38. return intellectRight;
  39. }
  40. public void setIntellectRight(String intellectRight) {
  41. this.intellectRight = intellectRight;
  42. }
  43. public String getScienceAchievement() {
  44. return scienceAchievement;
  45. }
  46. public void setScienceAchievement(String scienceAchievement) {
  47. this.scienceAchievement = scienceAchievement;
  48. }
  49. public String getResearchInnovation() {
  50. return researchInnovation;
  51. }
  52. public void setResearchInnovation(String researchInnovation) {
  53. this.researchInnovation = researchInnovation;
  54. }
  55. public String getPersonnel() {
  56. return personnel;
  57. }
  58. public void setPersonnel(String personnel) {
  59. this.personnel = personnel;
  60. }
  61. }