| | |
| | | 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; |
| | |
| | | @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) |
| | | public class BatteryStateReceiver { |
| | | |
| | | //zwy 2025-10-14 修改增加注解对应json字段 |
| | | |
| | | @JsonProperty("firmware_version") |
| | | private String firmwareVersion; |
| | | |
| | | @JsonProperty("index") |
| | | private Integer index; |
| | | |
| | | @JsonProperty("loop_times") |
| | | private Integer loopTimes; |
| | | |
| | | @JsonProperty("capacity_percent") |
| | | private Integer capacityPercent; |
| | | |
| | | @JsonProperty("sn") |
| | | private String sn; |
| | | |
| | | @JsonProperty("sub_type") |
| | | private Integer subType; |
| | | |
| | | @JsonProperty("temperature") |
| | | private Float temperature; |
| | | |
| | | @JsonProperty("type") |
| | | private Integer type; |
| | | |
| | | @JsonProperty("voltage") |
| | | private Integer voltage; |
| | | |
| | | } |