|
|
package com.xkl.domain;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
import java.sql.Timestamp;
|
|
|
|
|
|
/**
|
|
|
* 用户数据的domain类
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "xkl_amp_report")
|
|
|
@Data
|
|
|
public class AMPReport {
|
|
|
//用户id
|
|
|
@Id
|
|
|
@Column(name = "id")
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
private int id;
|
|
|
|
|
|
@Column(name = "member_id")
|
|
|
private int member_id;
|
|
|
// 姓名
|
|
|
@Column(name = "name")
|
|
|
private String name;
|
|
|
// 报告标题
|
|
|
@Column(name = "title")
|
|
|
private String title;
|
|
|
// 体检时间
|
|
|
@Column(name = "check_time")
|
|
|
private Timestamp check_time;
|
|
|
// 上传时间
|
|
|
@Column(name = "uptime")
|
|
|
private Timestamp uptime;
|
|
|
//用户账号
|
|
|
@Column(name = "account_str")
|
|
|
private String account_str;
|
|
|
// 0, 男; 1,女
|
|
|
@Column(name = "sex")
|
|
|
private int sex;
|
|
|
|
|
|
@Column(name = "age")
|
|
|
private int age;
|
|
|
|
|
|
@Column(name = "weight")
|
|
|
private int weight;
|
|
|
// 脉搏
|
|
|
@Column(name = "pulse")
|
|
|
private int pulse;
|
|
|
// 呼吸频率
|
|
|
@Column(name = "breath_rate")
|
|
|
private int breath_rate;
|
|
|
// 大气压力
|
|
|
@Column(name = "atmos_pressure")
|
|
|
private float atmos_pressure;
|
|
|
|
|
|
@Column(name = "LCA")
|
|
|
private float LCA;
|
|
|
|
|
|
@Column(name = "RCA")
|
|
|
private float RCA;
|
|
|
|
|
|
@Column(name = "LAC")
|
|
|
private float LAC;
|
|
|
|
|
|
@Column(name = "RAC")
|
|
|
private float RAC;
|
|
|
|
|
|
@Column(name = "ABD")
|
|
|
private float ABD;
|
|
|
// 温度和
|
|
|
@Column(name = "temp_sum")
|
|
|
private float temp_sum;
|
|
|
// 稳定值
|
|
|
@Column(name = "stable")
|
|
|
private int stable;
|
|
|
// 报告md5值
|
|
|
@Column(name = "md5")
|
|
|
private String md5;
|
|
|
// 创建者id
|
|
|
@Column(name = "create_by")
|
|
|
private int create_by;
|
|
|
// 机器号码
|
|
|
@Column(name = "machine_num")
|
|
|
private String machine_num;
|
|
|
|
|
|
@Column(name = "T0")
|
|
|
private String T0;
|
|
|
|
|
|
@Column(name = "T1")
|
|
|
private String T1;
|
|
|
|
|
|
@Column(name = "T2")
|
|
|
private String T2;
|
|
|
|
|
|
@Column(name = "T3")
|
|
|
private String T3;
|
|
|
|
|
|
@Column(name = "T4")
|
|
|
private String T4;
|
|
|
// 体检结论
|
|
|
@Column(name = "conclusion")
|
|
|
private String conclusion;
|
|
|
// 健康评分
|
|
|
@Column(name = "score")
|
|
|
private float score;
|
|
|
// 所属公司id
|
|
|
@Column(name = "company_id")
|
|
|
private int company_id;
|
|
|
// 报告状态 0,失效;1有效。
|
|
|
@Column(name = "status")
|
|
|
private int status;
|
|
|
|
|
|
public void setReport(String name, String title, Timestamp check_time,
|
|
|
Timestamp uptime, String account_str, int sex, int age,
|
|
|
int weight, int pulse, int breath_rate, float atmos_pressure,
|
|
|
float LCA, float RCA, float LAC, float RAC, float ABD, float temp_sum,
|
|
|
int stable, String md5,String machine_num, String conclusion) {
|
|
|
this.name = name;
|
|
|
this.title = title;
|
|
|
this.check_time = check_time;
|
|
|
this.uptime = uptime;
|
|
|
this.account_str = account_str;
|
|
|
this.sex = sex;
|
|
|
this.age = age;
|
|
|
this.weight = weight;
|
|
|
this.pulse = pulse;
|
|
|
this.breath_rate = breath_rate;
|
|
|
this.atmos_pressure = atmos_pressure;
|
|
|
this.LCA = LCA;
|
|
|
this.RCA = RCA;
|
|
|
this.LAC = LAC;
|
|
|
this.RAC = RAC;
|
|
|
this.ABD = ABD;
|
|
|
this.temp_sum = temp_sum;
|
|
|
this.stable = stable;
|
|
|
this.md5 = md5;
|
|
|
this.machine_num = machine_num;
|
|
|
this.conclusion = conclusion;
|
|
|
this.status = 1; //默认为有效。
|
|
|
}
|
|
|
|
|
|
public int getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
public void setId(int id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
public int getMember_id() {
|
|
|
return member_id;
|
|
|
}
|
|
|
|
|
|
public void setMember_id(int member_id) {
|
|
|
this.member_id = member_id;
|
|
|
}
|
|
|
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
public String getTitle() {
|
|
|
return title;
|
|
|
}
|
|
|
|
|
|
public void setTitle(String title) {
|
|
|
this.title = title;
|
|
|
}
|
|
|
|
|
|
public Timestamp getCheck_time() {
|
|
|
return check_time;
|
|
|
}
|
|
|
|
|
|
public void setCheck_time(Timestamp check_time) {
|
|
|
this.check_time = check_time;
|
|
|
}
|
|
|
|
|
|
public Timestamp getUptime() {
|
|
|
return uptime;
|
|
|
}
|
|
|
|
|
|
public void setUptime(Timestamp uptime) {
|
|
|
this.uptime = uptime;
|
|
|
}
|
|
|
|
|
|
public String getAccount_str() {
|
|
|
return account_str;
|
|
|
}
|
|
|
|
|
|
public void setAccount_str(String account_str) {
|
|
|
this.account_str = account_str;
|
|
|
}
|
|
|
|
|
|
public int getSex() {
|
|
|
return sex;
|
|
|
}
|
|
|
|
|
|
public void setSex(int sex) {
|
|
|
this.sex = sex;
|
|
|
}
|
|
|
|
|
|
public int getAge() {
|
|
|
return age;
|
|
|
}
|
|
|
|
|
|
public void setAge(int age) {
|
|
|
this.age = age;
|
|
|
}
|
|
|
|
|
|
public int getWeight() {
|
|
|
return weight;
|
|
|
}
|
|
|
|
|
|
public void setWeight(int weight) {
|
|
|
this.weight = weight;
|
|
|
}
|
|
|
|
|
|
public int getPulse() {
|
|
|
return pulse;
|
|
|
}
|
|
|
|
|
|
public void setPulse(int pulse) {
|
|
|
this.pulse = pulse;
|
|
|
}
|
|
|
|
|
|
public int getBreath_rate() {
|
|
|
return breath_rate;
|
|
|
}
|
|
|
|
|
|
public void setBreath_rate(int breath_rate) {
|
|
|
this.breath_rate = breath_rate;
|
|
|
}
|
|
|
|
|
|
public float getAtmos_pressure() {
|
|
|
return atmos_pressure;
|
|
|
}
|
|
|
|
|
|
public void setAtmos_pressure(float atmos_pressure) {
|
|
|
this.atmos_pressure = atmos_pressure;
|
|
|
}
|
|
|
|
|
|
public float getLCA() {
|
|
|
return LCA;
|
|
|
}
|
|
|
|
|
|
public void setLCA(float LCA) {
|
|
|
this.LCA = LCA;
|
|
|
}
|
|
|
|
|
|
public float getRCA() {
|
|
|
return RCA;
|
|
|
}
|
|
|
|
|
|
public void setRCA(float RCA) {
|
|
|
this.RCA = RCA;
|
|
|
}
|
|
|
|
|
|
public float getLAC() {
|
|
|
return LAC;
|
|
|
}
|
|
|
|
|
|
public void setLAC(float LAC) {
|
|
|
this.LAC = LAC;
|
|
|
}
|
|
|
|
|
|
public float getRAC() {
|
|
|
return RAC;
|
|
|
}
|
|
|
|
|
|
public void setRAC(float RAC) {
|
|
|
this.RAC = RAC;
|
|
|
}
|
|
|
|
|
|
public float getABD() {
|
|
|
return ABD;
|
|
|
}
|
|
|
|
|
|
public void setABD(float ABD) {
|
|
|
this.ABD = ABD;
|
|
|
}
|
|
|
|
|
|
public float getTemp_sum() {
|
|
|
return temp_sum;
|
|
|
}
|
|
|
|
|
|
public void setTemp_sum(float temp_sum) {
|
|
|
this.temp_sum = temp_sum;
|
|
|
}
|
|
|
|
|
|
public int getStable() {
|
|
|
return stable;
|
|
|
}
|
|
|
|
|
|
public void setStable(int stable) {
|
|
|
this.stable = stable;
|
|
|
}
|
|
|
|
|
|
public String getMd5() {
|
|
|
return md5;
|
|
|
}
|
|
|
|
|
|
public void setMd5(String md5) {
|
|
|
this.md5 = md5;
|
|
|
}
|
|
|
|
|
|
public int getCreate_by() {
|
|
|
return create_by;
|
|
|
}
|
|
|
|
|
|
public void setCreate_by(int create_by) {
|
|
|
this.create_by = create_by;
|
|
|
}
|
|
|
|
|
|
public String getMachine_num() {
|
|
|
return machine_num;
|
|
|
}
|
|
|
|
|
|
public void setMachine_num(String machine_num) {
|
|
|
this.machine_num = machine_num;
|
|
|
}
|
|
|
|
|
|
public String getT0() {
|
|
|
return T0;
|
|
|
}
|
|
|
|
|
|
public void setT0(String t0) {
|
|
|
T0 = t0;
|
|
|
}
|
|
|
|
|
|
public String getT1() {
|
|
|
return T1;
|
|
|
}
|
|
|
|
|
|
public void setT1(String t1) {
|
|
|
T1 = t1;
|
|
|
}
|
|
|
|
|
|
public String getT2() {
|
|
|
return T2;
|
|
|
}
|
|
|
|
|
|
public void setT2(String t2) {
|
|
|
T2 = t2;
|
|
|
}
|
|
|
|
|
|
public String getT3() {
|
|
|
return T3;
|
|
|
}
|
|
|
|
|
|
public void setT3(String t3) {
|
|
|
T3 = t3;
|
|
|
}
|
|
|
|
|
|
public String getT4() {
|
|
|
return T4;
|
|
|
}
|
|
|
|
|
|
public void setT4(String t4) {
|
|
|
T4 = t4;
|
|
|
}
|
|
|
|
|
|
public String getConclusion() {
|
|
|
return conclusion;
|
|
|
}
|
|
|
|
|
|
public void setConclusion(String conclusion) {
|
|
|
this.conclusion = conclusion;
|
|
|
}
|
|
|
|
|
|
public float getScore() {
|
|
|
return score;
|
|
|
}
|
|
|
|
|
|
public void setScore(float score) {
|
|
|
this.score = score;
|
|
|
}
|
|
|
|
|
|
|
|
|
public int getCompany_id() {
|
|
|
return company_id;
|
|
|
}
|
|
|
|
|
|
public void setCompany_id(int company_id) {
|
|
|
this.company_id = company_id;
|
|
|
}
|
|
|
|
|
|
public int getStatus() {
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
public void setStatus(int status) {
|
|
|
this.status = status;
|
|
|
}
|
|
|
} |
...
|
...
|
|