| | |
| | | public String id; |
| | | |
| | | /** |
| | | * 水肥机FBox序列号 |
| | | */ |
| | | @NotEmpty(message = "水肥机FBox序列号") //不能为空也不能为null |
| | | public String fboxId; |
| | | |
| | | /** |
| | | * 水肥机名称 |
| | | */ |
| | | @NotEmpty(message = "水肥机名称不能为空") //不能为空也不能为null |
| | |
| | | |
| | | public PrStManure toNewPo(){ |
| | | PrStManure po = new PrStManure(); |
| | | po.fboxId = this.fboxId; |
| | | po.name = this.name; |
| | | po.no = this.no; |
| | | po.lng = this.lng; |
| | |
| | | public String id; |
| | | |
| | | /** |
| | | * 墒情站FBox序列号 |
| | | */ |
| | | @NotEmpty(message = "墒情站FBox序列号") //不能为空也不能为null |
| | | public String fboxId; |
| | | |
| | | /** |
| | | * 墒情站名称 |
| | | */ |
| | | @NotEmpty(message = "墒情站名称不能为空") //不能为空也不能为null |
| | |
| | | |
| | | public PrStSoil toNewPo(){ |
| | | PrStSoil po = new PrStSoil(); |
| | | po.fboxId = this.fboxId; |
| | | po.name = this.name; |
| | | po.no = this.no; |
| | | po.lng = this.lng; |
| | |
| | | public String id; |
| | | |
| | | /** |
| | | * 气象站FBox序列号 |
| | | */ |
| | | @NotEmpty(message = "气象站FBox序列号") //不能为空也不能为null |
| | | public String fboxId; |
| | | |
| | | /** |
| | | * 气象站名称 |
| | | */ |
| | | @NotEmpty(message = "气象站名称不能为空") //不能为空也不能为null |
| | |
| | | |
| | | public PrStWeather toNewPo(){ |
| | | PrStWeather po = new PrStWeather(); |
| | | po.fboxId = this.fboxId; |
| | | po.name = this.name; |
| | | po.no = this.no; |
| | | po.lng = this.lng; |