您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

114 行
2.5KB

  1. package vn.azteam.tpf.service.dto;
  2. import java.io.Serializable;
  3. import java.time.Instant;
  4. import java.util.List;
  5. /**
  6. * A DTO for the TBCrop entity.
  7. */
  8. public class TBCropDetailDTOV2 implements Serializable {
  9. private TBCropDTO tbCropDTO;
  10. // Use for web only
  11. private ActivityTimelineDTO activityTimeline;
  12. // Use for app only
  13. private List<TBActivityDTO> activities;
  14. private Instant plantingDate;
  15. private Instant sowingDate;
  16. private Double seedIncubationTime;
  17. private Integer numberPlants;
  18. private Integer numberCurrentPlants;
  19. private Instant endOfFarmingDate;
  20. private TBAddressDTO tbAddressDTO;
  21. public TBCropDTO getTbCropDTO() {
  22. return tbCropDTO;
  23. }
  24. public void setTbCropDTO(TBCropDTO tbCropDTO) {
  25. this.tbCropDTO = tbCropDTO;
  26. }
  27. public Instant getSowingDate() {
  28. return sowingDate;
  29. }
  30. public void setSowingDate(Instant sowingDate) {
  31. this.sowingDate = sowingDate;
  32. }
  33. public Instant getPlantingDate() {
  34. return plantingDate;
  35. }
  36. public void setPlantingDate(Instant plantingDate) {
  37. this.plantingDate = plantingDate;
  38. }
  39. public Double getSeedIncubationTime() {
  40. return seedIncubationTime;
  41. }
  42. public void setSeedIncubationTime(Double seedIncubationTime) {
  43. this.seedIncubationTime = seedIncubationTime;
  44. }
  45. public Integer getNumberPlants() {
  46. return numberPlants;
  47. }
  48. public void setNumberPlants(Integer numberPlants) {
  49. this.numberPlants = numberPlants;
  50. }
  51. public Integer getNumberCurrentPlants() {
  52. return numberCurrentPlants;
  53. }
  54. public void setNumberCurrentPlants(Integer numberCurrentPlants) {
  55. this.numberCurrentPlants = numberCurrentPlants;
  56. }
  57. public Instant getEndOfFarmingDate() {
  58. return endOfFarmingDate;
  59. }
  60. public void setEndOfFarmingDate(Instant endOfFarmingDate) {
  61. this.endOfFarmingDate = endOfFarmingDate;
  62. }
  63. public List<TBActivityDTO> getActivities() {
  64. return activities;
  65. }
  66. public void setActivities(List<TBActivityDTO> activities) {
  67. this.activities = activities;
  68. }
  69. public ActivityTimelineDTO getActivityTimeline() {
  70. return activityTimeline;
  71. }
  72. public void setActivityTimeline(ActivityTimelineDTO activityTimeline) {
  73. this.activityTimeline = activityTimeline;
  74. }
  75. public TBAddressDTO getTbAddressDTO() {
  76. return tbAddressDTO;
  77. }
  78. public void setTbAddressDTO(TBAddressDTO tbAddressDTO) {
  79. this.tbAddressDTO = tbAddressDTO;
  80. }
  81. }