修改健康一体机接收数据参数值
This commit is contained in:
parent
bf666068db
commit
e5f4f3cf70
|
|
@ -1,5 +1,6 @@
|
|||
package com.bonus.canteen.core.healthmachine.bean;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
|
@ -19,13 +20,18 @@ public class BodyMeasurement {
|
|||
private double height;
|
||||
private int weight;
|
||||
private double bmi;
|
||||
@JsonProperty("body_fat")
|
||||
private double bodyFat;
|
||||
private double muscle;
|
||||
@JsonProperty("bone_mass")
|
||||
private double boneMass;
|
||||
@JsonProperty("water_content")
|
||||
private double waterContent;
|
||||
private double extwater;
|
||||
private double protein;
|
||||
private int metabolism;
|
||||
@JsonProperty("fat_level")
|
||||
private int fatLevel;
|
||||
@JsonProperty("body_age")
|
||||
private int bodyAge;
|
||||
}
|
||||
Loading…
Reference in New Issue