zhaowenyu
2025-11-06 3eb98b88c32d8c50d096d59c1b71e6bcfe8f074a
ard-sample/src/main/java/com/ard/sample/manage/model/receiver/DroneChargeStateReceiver.java
@@ -1,5 +1,6 @@
package com.ard.sample.manage.model.receiver;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
@@ -9,8 +10,16 @@
 */
@Data
public class DroneChargeStateReceiver {
    // zwy 2025-10-14 修改增加注解对应json字段
    /**
     * 充电状态   enum_int   {"0":"空闲","1":"充电中"}
     * */
    @JsonProperty("state")
    private Integer state;
    /**
     * 电量百分比   int   {"max":"100","min":"0"}
     * */
    @JsonProperty("capacity_percent")
    private Integer capacityPercent;
}