DataTrans.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package restcontroller.webmanage.sale.databoard;
  2. import java.math.BigDecimal;
  3. public class DataTrans {
  4. private String name;
  5. private String type;
  6. private String year;
  7. private String month;
  8. private String day;
  9. private BigDecimal value;
  10. public String getName() {
  11. return name;
  12. }
  13. public void setName(String name) {
  14. this.name = name;
  15. }
  16. public String getYear() {
  17. return year;
  18. }
  19. public void setYear(String year) {
  20. this.year = year;
  21. }
  22. public String getMonth() {
  23. return month;
  24. }
  25. public void setMonth(String month) {
  26. this.month = month;
  27. }
  28. public BigDecimal getValue() {
  29. return value;
  30. }
  31. public void setValue(BigDecimal value) {
  32. this.value = value;
  33. }
  34. public String getType() {
  35. return type;
  36. }
  37. public void setType(String type) {
  38. this.type = type;
  39. }
  40. public String getDay() {
  41. return day;
  42. }
  43. public void setDay(String day) {
  44. this.day = day;
  45. }
  46. @Override
  47. public String toString() {
  48. return "DataTrans{" +
  49. "name='" + name + '\'' +
  50. ", type='" + type + '\'' +
  51. ", year='" + year + '\'' +
  52. ", month='" + month + '\'' +
  53. ", day='" + day + '\'' +
  54. ", value=" + value +
  55. '}';
  56. }
  57. }