|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- package vn.azteam.tpf.service.dto;
-
- import java.io.Serializable;
- import java.time.Instant;
- import java.util.List;
-
- /**
- * A DTO for the TBCrop entity.
- */
- public class TBCropDetailDTOV2 implements Serializable {
-
- private TBCropDTO tbCropDTO;
-
- // Use for web only
- private ActivityTimelineDTO activityTimeline;
-
- // Use for app only
- private List<TBActivityDTO> activities;
-
- private Instant plantingDate;
-
- private Instant sowingDate;
-
- private Double seedIncubationTime;
-
- private Integer numberPlants;
-
- private Integer numberCurrentPlants;
-
- private Instant endOfFarmingDate;
-
- private TBAddressDTO tbAddressDTO;
-
- public TBCropDTO getTbCropDTO() {
- return tbCropDTO;
- }
-
- public void setTbCropDTO(TBCropDTO tbCropDTO) {
- this.tbCropDTO = tbCropDTO;
- }
-
- public Instant getSowingDate() {
- return sowingDate;
- }
-
- public void setSowingDate(Instant sowingDate) {
- this.sowingDate = sowingDate;
- }
-
- public Instant getPlantingDate() {
- return plantingDate;
- }
-
- public void setPlantingDate(Instant plantingDate) {
- this.plantingDate = plantingDate;
- }
-
- public Double getSeedIncubationTime() {
- return seedIncubationTime;
- }
-
- public void setSeedIncubationTime(Double seedIncubationTime) {
- this.seedIncubationTime = seedIncubationTime;
- }
-
- public Integer getNumberPlants() {
- return numberPlants;
- }
-
- public void setNumberPlants(Integer numberPlants) {
- this.numberPlants = numberPlants;
- }
-
- public Integer getNumberCurrentPlants() {
- return numberCurrentPlants;
- }
-
- public void setNumberCurrentPlants(Integer numberCurrentPlants) {
- this.numberCurrentPlants = numberCurrentPlants;
- }
-
- public Instant getEndOfFarmingDate() {
- return endOfFarmingDate;
- }
-
- public void setEndOfFarmingDate(Instant endOfFarmingDate) {
- this.endOfFarmingDate = endOfFarmingDate;
- }
-
- public List<TBActivityDTO> getActivities() {
- return activities;
- }
-
- public void setActivities(List<TBActivityDTO> activities) {
- this.activities = activities;
- }
-
- public ActivityTimelineDTO getActivityTimeline() {
- return activityTimeline;
- }
-
- public void setActivityTimeline(ActivityTimelineDTO activityTimeline) {
- this.activityTimeline = activityTimeline;
- }
-
- public TBAddressDTO getTbAddressDTO() {
- return tbAddressDTO;
- }
-
- public void setTbAddressDTO(TBAddressDTO tbAddressDTO) {
- this.tbAddressDTO = tbAddressDTO;
- }
- }
|