You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TBCodeDTO.java 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. package vn.azteam.tpf.service.dto;
  2. import vn.azteam.tpf.domain.TBCodeDetails;
  3. import vn.azteam.tpf.domain.TBCodeStatusEnum;
  4. import vn.azteam.tpf.domain.TBCrop;
  5. import java.io.Serializable;
  6. import java.time.Instant;
  7. import java.util.HashSet;
  8. import java.util.Set;
  9. public class TBCodeDTO implements Serializable {
  10. private Long id;
  11. private TBCropDTO tbCrop;
  12. private String code;
  13. private Integer quantity;
  14. private String description;
  15. private String pathImage;
  16. private TBCodeStatusEnum status;
  17. private Instant expiredDate;
  18. private Instant createdDate;
  19. private Instant modifiedDate;
  20. private Instant deletedDate;
  21. private Long createdById;
  22. private Long modifiedById;
  23. private Long deletedById;
  24. private Long tbProductLabelId;
  25. private Set<TBCodeDetailsDTO> tbCodeDetails = new HashSet<>();
  26. public Long getId() {
  27. return id;
  28. }
  29. public void setId(Long id) {
  30. this.id = id;
  31. }
  32. public String getCode() {
  33. return code;
  34. }
  35. public void setCode(String code) {
  36. this.code = code;
  37. }
  38. public Integer getQuantity() {
  39. return quantity;
  40. }
  41. public void setQuantity(Integer quantity) {
  42. this.quantity = quantity;
  43. }
  44. public String getDescription() {
  45. return description;
  46. }
  47. public void setDescription(String description) {
  48. this.description = description;
  49. }
  50. public String getPathImage() {
  51. return pathImage;
  52. }
  53. public void setPathImage(String pathImage) {
  54. this.pathImage = pathImage;
  55. }
  56. public TBCodeStatusEnum getStatus() {
  57. return status;
  58. }
  59. public void setStatus(TBCodeStatusEnum status) {
  60. this.status = status;
  61. }
  62. public Instant getExpiredDate() {
  63. return expiredDate;
  64. }
  65. public void setExpiredDate(Instant expiredDate) {
  66. this.expiredDate = expiredDate;
  67. }
  68. public Instant getCreatedDate() {
  69. return createdDate;
  70. }
  71. public void setCreatedDate(Instant createdDate) {
  72. this.createdDate = createdDate;
  73. }
  74. public Instant getModifiedDate() {
  75. return modifiedDate;
  76. }
  77. public void setModifiedDate(Instant modifiedDate) {
  78. this.modifiedDate = modifiedDate;
  79. }
  80. public Instant getDeletedDate() {
  81. return deletedDate;
  82. }
  83. public void setDeletedDate(Instant deletedDate) {
  84. this.deletedDate = deletedDate;
  85. }
  86. public Long getCreatedById() {
  87. return createdById;
  88. }
  89. public void setCreatedById(Long createdById) {
  90. this.createdById = createdById;
  91. }
  92. public Long getModifiedById() {
  93. return modifiedById;
  94. }
  95. public void setModifiedById(Long modifiedById) {
  96. this.modifiedById = modifiedById;
  97. }
  98. public Long getDeletedById() {
  99. return deletedById;
  100. }
  101. public void setDeletedById(Long deletedById) {
  102. this.deletedById = deletedById;
  103. }
  104. public TBCropDTO getTbCrop() {
  105. return tbCrop;
  106. }
  107. public void setTbCrop(TBCropDTO tbCrop) {
  108. this.tbCrop = tbCrop;
  109. }
  110. public Set<TBCodeDetailsDTO> getTbCodeDetails() {
  111. return tbCodeDetails;
  112. }
  113. public void setTbCodeDetails(Set<TBCodeDetailsDTO> tbCodeDetails) {
  114. this.tbCodeDetails = tbCodeDetails;
  115. }
  116. public Long getTbProductLabelId() {
  117. return tbProductLabelId;
  118. }
  119. public void setTbProductLabelId(Long tbProductLabelId) {
  120. this.tbProductLabelId = tbProductLabelId;
  121. }
  122. }