|
|
|
|
|
|
|
|
TbCropDTO? tbCropDTO; |
|
|
TbCropDTO? tbCropDTO; |
|
|
List<Activities>? activities; |
|
|
List<Activities>? activities; |
|
|
String? sowingDate; |
|
|
String? sowingDate; |
|
|
|
|
|
String? plantingDate; |
|
|
int? soakSeedsTime; |
|
|
int? soakSeedsTime; |
|
|
num? seedIncubationTime; |
|
|
num? seedIncubationTime; |
|
|
int? numberPlants; |
|
|
int? numberPlants; |
|
|
int? numberCurrentPlants; |
|
|
int? numberCurrentPlants; |
|
|
String? endOfFarmingDate; |
|
|
String? endOfFarmingDate; |
|
|
|
|
|
|
|
|
CropPlot( |
|
|
|
|
|
{this.tbCropDTO, |
|
|
|
|
|
this.activities, |
|
|
|
|
|
this.sowingDate, |
|
|
|
|
|
this.soakSeedsTime, |
|
|
|
|
|
this.seedIncubationTime, |
|
|
|
|
|
this.numberPlants, |
|
|
|
|
|
this.numberCurrentPlants, |
|
|
|
|
|
this.endOfFarmingDate}); |
|
|
|
|
|
|
|
|
CropPlot({ |
|
|
|
|
|
this.tbCropDTO, |
|
|
|
|
|
this.activities, |
|
|
|
|
|
this.sowingDate, |
|
|
|
|
|
this.plantingDate, |
|
|
|
|
|
this.soakSeedsTime, |
|
|
|
|
|
this.seedIncubationTime, |
|
|
|
|
|
this.numberPlants, |
|
|
|
|
|
this.numberCurrentPlants, |
|
|
|
|
|
this.endOfFarmingDate, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
CropPlot.fromJson(Map<String, dynamic> json) { |
|
|
CropPlot.fromJson(Map<String, dynamic> json) { |
|
|
tbCropDTO = json['tbCropDTO'] != null ? new TbCropDTO.fromJson(json['tbCropDTO']) : null; |
|
|
tbCropDTO = json['tbCropDTO'] != null ? new TbCropDTO.fromJson(json['tbCropDTO']) : null; |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
sowingDate = json['sowingDate']; |
|
|
sowingDate = json['sowingDate']; |
|
|
|
|
|
plantingDate = json['plantingDate']; |
|
|
soakSeedsTime = json['soakSeedsTime']; |
|
|
soakSeedsTime = json['soakSeedsTime']; |
|
|
seedIncubationTime = json['seedIncubationTime']; |
|
|
seedIncubationTime = json['seedIncubationTime']; |
|
|
numberPlants = json['numberPlants']; |
|
|
numberPlants = json['numberPlants']; |