Step1.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. package com.goafanti.evaluation.bo;
  2. import javax.validation.constraints.NotNull;
  3. import javax.validation.constraints.Pattern;
  4. import javax.validation.constraints.Size;
  5. public class Step1 {
  6. @NotNull
  7. @Size(max = 128)
  8. private String name;
  9. @NotNull
  10. private Integer industry;
  11. @NotNull
  12. @Size(max = 36)
  13. private String subIndustry;
  14. @NotNull
  15. private Integer transferType;
  16. @NotNull
  17. private Integer timeLeft;
  18. @NotNull
  19. @Size(max = 100)
  20. private String transferArea;
  21. @NotNull
  22. @Size(max = 36)
  23. private String currencyType;
  24. @NotNull
  25. @Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}")
  26. private String benchmarkDate;
  27. public String getName() {
  28. return name;
  29. }
  30. public void setName(String name) {
  31. this.name = name;
  32. }
  33. public Integer getIndustry() {
  34. return industry;
  35. }
  36. public void setIndustry(Integer industry) {
  37. this.industry = industry;
  38. }
  39. public String getSubIndustry() {
  40. return subIndustry;
  41. }
  42. public void setSubIndustry(String subIndustry) {
  43. this.subIndustry = subIndustry;
  44. }
  45. public Integer getTransferType() {
  46. return transferType;
  47. }
  48. public void setTransferType(Integer transferType) {
  49. this.transferType = transferType;
  50. }
  51. public Integer getTimeLeft() {
  52. return timeLeft;
  53. }
  54. public void setTimeLeft(Integer timeLeft) {
  55. this.timeLeft = timeLeft;
  56. }
  57. public String getTransferArea() {
  58. return transferArea;
  59. }
  60. public void setTransferArea(String transferArea) {
  61. this.transferArea = transferArea;
  62. }
  63. public String getCurrencyType() {
  64. return currencyType;
  65. }
  66. public void setCurrencyType(String currencyType) {
  67. this.currencyType = currencyType;
  68. }
  69. public String getBenchmarkDate() {
  70. return benchmarkDate;
  71. }
  72. public void setBenchmarkDate(String benchmarkDate) {
  73. this.benchmarkDate = benchmarkDate;
  74. }
  75. }