| | |
| | | package com.ard.sample.manage.model.receiver; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import com.fasterxml.jackson.databind.PropertyNamingStrategy; |
| | | import com.fasterxml.jackson.databind.annotation.JsonNaming; |
| | | import lombok.Data; |
| | |
| | | @Data |
| | | @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) |
| | | public class BatteryReceiver { |
| | | |
| | | // zwy 2025-10-14 修改增加注解对应json字段 |
| | | @JsonProperty("batteries") |
| | | private List<BatteryStateReceiver> batteries; |
| | | |
| | | @JsonProperty("capacity_percent") |
| | | private Integer capacityPercent; |
| | | |
| | | @JsonProperty("landing_power") |
| | | private Integer landingPower; |
| | | |
| | | @JsonProperty("remain_flight_time") |
| | | private Integer remainFlightTime; |
| | | |
| | | @JsonProperty("return_home_power") |
| | | private Integer returnHomePower; |
| | | } |