|
@ -3,6 +3,7 @@ package com.yihu.jw.entity.care.device;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.jw.entity.IdEntity;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import java.util.Date;
|
|
@ -36,6 +37,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
public Date createTime; // //日期
|
|
|
public Integer del; //是否有效 1有效 0无效
|
|
|
|
|
|
@Column(name = "patient")
|
|
|
public String getPatient() {
|
|
|
return patient;
|
|
|
}
|
|
@ -44,6 +46,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.patient = patient;
|
|
|
}
|
|
|
|
|
|
@Column(name = "device_sn")
|
|
|
public String getDeviceSn() {
|
|
|
return deviceSn;
|
|
|
}
|
|
@ -52,6 +55,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.deviceSn = deviceSn;
|
|
|
}
|
|
|
|
|
|
@Column(name = "falla_sleep")
|
|
|
public String getFallaSleep() {
|
|
|
return fallaSleep;
|
|
|
}
|
|
@ -60,6 +64,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.fallaSleep = fallaSleep;
|
|
|
}
|
|
|
|
|
|
@Column(name = "sleep_time")
|
|
|
public String getSleepTime() {
|
|
|
return sleepTime;
|
|
|
}
|
|
@ -68,6 +73,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.sleepTime = sleepTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "rest_time")
|
|
|
public String getRestTime() {
|
|
|
return restTime;
|
|
|
}
|
|
@ -76,6 +82,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.restTime = restTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "awake_time")
|
|
|
public String getAwakeTime() {
|
|
|
return awakeTime;
|
|
|
}
|
|
@ -84,6 +91,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.awakeTime = awakeTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "light_time")
|
|
|
public String getLightTime() {
|
|
|
return lightTime;
|
|
|
}
|
|
@ -92,6 +100,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.lightTime = lightTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "rem_time")
|
|
|
public String getRemTime() {
|
|
|
return remTime;
|
|
|
}
|
|
@ -100,6 +109,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.remTime = remTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "deep_time")
|
|
|
public String getDeepTime() {
|
|
|
return deepTime;
|
|
|
}
|
|
@ -108,6 +118,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.deepTime = deepTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "bucket")
|
|
|
public String getBucket() {
|
|
|
return bucket;
|
|
|
}
|
|
@ -116,6 +127,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.bucket = bucket;
|
|
|
}
|
|
|
|
|
|
@Column(name = "avghr")
|
|
|
public String getAvghr() {
|
|
|
return avghr;
|
|
|
}
|
|
@ -124,6 +136,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.avghr = avghr;
|
|
|
}
|
|
|
|
|
|
@Column(name = "avgbr")
|
|
|
public String getAvgbr() {
|
|
|
return avgbr;
|
|
|
}
|
|
@ -132,6 +145,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.avgbr = avgbr;
|
|
|
}
|
|
|
|
|
|
@Column(name = "awake_per")
|
|
|
public String getAwakePer() {
|
|
|
return awakePer;
|
|
|
}
|
|
@ -140,6 +154,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.awakePer = awakePer;
|
|
|
}
|
|
|
|
|
|
@Column(name = "rem_per")
|
|
|
public String getRemPer() {
|
|
|
return remPer;
|
|
|
}
|
|
@ -148,6 +163,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.remPer = remPer;
|
|
|
}
|
|
|
|
|
|
@Column(name = "light_per")
|
|
|
public String getLightPer() {
|
|
|
return lightPer;
|
|
|
}
|
|
@ -156,6 +172,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.lightPer = lightPer;
|
|
|
}
|
|
|
|
|
|
@Column(name = "deep_per")
|
|
|
public String getDeepPer() {
|
|
|
return deepPer;
|
|
|
}
|
|
@ -164,6 +181,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.deepPer = deepPer;
|
|
|
}
|
|
|
|
|
|
@Column(name = "efficiency")
|
|
|
public String getEfficiency() {
|
|
|
return efficiency;
|
|
|
}
|
|
@ -172,6 +190,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.efficiency = efficiency;
|
|
|
}
|
|
|
|
|
|
@Column(name = "score")
|
|
|
public String getScore() {
|
|
|
return score;
|
|
|
}
|
|
@ -181,6 +200,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
}
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
@Column(name = "create_time")
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
@ -189,6 +209,7 @@ public class BaseSleepDeviceReport extends IdEntity {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
@Column(name = "del")
|
|
|
public Integer getDel() {
|
|
|
return del;
|
|
|
}
|