liusuyi
2025-11-20 c49aebafe55bca031c0c4f5c5fd45dad9ff46f32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.ard.sample.manage.model.receiver;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
 
/**
 * @author sean
 * @version 1.0
 * @date 2022/5/11
 */
@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;
}