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