|
@@ -120,7 +120,7 @@ class CropInfoDto
|
|
|
|
|
|
|
|
$dto->plantTime = $crop->plant_time;
|
|
$dto->plantTime = $crop->plant_time;
|
|
|
|
|
|
|
|
- $dto->growthStage = $crop->growth_stage->value();
|
|
|
|
|
|
|
+ $dto->growthStage = $crop->growth_stage->value;
|
|
|
// $dto->growthStageName = $crop->growth_stage->name;
|
|
// $dto->growthStageName = $crop->growth_stage->name;
|
|
|
$dto->stageStartTime = $crop->stage_start_time ? $crop->stage_start_time : null;
|
|
$dto->stageStartTime = $crop->stage_start_time ? $crop->stage_start_time : null;
|
|
|
$dto->stageEndTime = $crop->stage_end_time ? $crop->stage_end_time : null;
|
|
$dto->stageEndTime = $crop->stage_end_time ? $crop->stage_end_time : null;
|