XklAmpReportEntity.java 7.6 KB
package com.xkl.domain;

import lombok.Data;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * Created by win7 on 2016/11/20.
 * report列表
 */
@Data
@Entity
@Table(name = "xkl_amp_report")
public class XklAmpReportEntity {
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;
    @Basic
    @Column(name = "member_id")
    private long memberId;
    @Basic
    @Column(name = "name")
    private String name;
    @Basic
    @Column(name = "title")
    private String title;
    @Basic
    @Column(name = "check_time")
    private Timestamp checkTime;
    @Basic
    @Column(name = "uptime")
    private Timestamp uptime;
    @Basic
    @Column(name = "account_str")
    private String accountStr;
    @Basic
    @Column(name = "sex")
    private Byte sex;
    @Basic
    @Column(name = "age")
    private Byte age;
    @Basic
    @Column(name = "weight")
    private long weight;
    @Basic
    @Column(name = "pulse")
    private long pulse;
    @Basic
    @Column(name = "breath_rate")
    private long breathRate;
    @Basic
    @Column(name = "atmos_pressure")
    private Double atmosPressure;
    @Basic
    @Column(name = "LCA")
    private Double lca;
    @Basic
    @Column(name = "RCA")
    private Double rca;
    @Basic
    @Column(name = "LAC")
    private Double lac;
    @Basic
    @Column(name = "RAC")
    private Double rac;
    @Basic
    @Column(name = "ABD")
    private Double abd;
    @Basic
    @Column(name = "temp_sum")
    private Double tempSum;
    @Basic
    @Column(name = "stable")
    private long stable;
    @Basic
    @Column(name = "md5")
    private String md5;
    @Basic
    @Column(name = "create_by")
    private long createBy;
    @Basic
    @Column(name = "machine_num")
    private String machineNum;
    @Basic
    @Column(name = "T0")
    private String t0;
    @Basic
    @Column(name = "T1")
    private String t1;
    @Basic
    @Column(name = "T2")
    private String t2;
    @Basic
    @Column(name = "T3")
    private String t3;
    @Basic
    @Column(name = "T4")
    private String t4;
    @Basic
    @Column(name = "conclusion")
    private String conclusion;
    @Basic
    @Column(name = "score")
    private Double score;
    @Basic
    @Column(name = "company_id")
    private long companyId;
    @Basic
    @Column(name = "status")
    private int status;

    public long getId() {
        return id;
    }


    public void setReport(String name, String title, Timestamp check_time,
                          Timestamp uptime, String account_str, Byte sex, Byte age,
                          int weight, int pulse, int breath_rate, Double atmos_pressure,
                          Double LCA, Double RCA, Double LAC, Double RAC, Double ABD, Double temp_sum,
                          int stable, String md5, String machine_num, String conclusion) {
        this.name = name;
        this.title = title;
        this.checkTime = check_time;
        this.uptime = uptime;
        this.accountStr = account_str;
        this.sex = sex;
        this.age = age;
        this.weight = weight;
        this.pulse = pulse;
        this.breathRate = breath_rate;
        this.atmosPressure = atmos_pressure;
        this.lca = LCA;
        this.rca = RCA;
        this.lac = LAC;
        this.rac = RAC;
        this.abd = ABD;
        this.tempSum = temp_sum;
        this.stable = stable;
        this.md5 = md5;
        this.machineNum = machine_num;
        this.conclusion = conclusion;
        this.status = 1; //默认为有效。
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getMemberId() {
        return memberId;
    }

    public void setMemberId(long memberId) {
        this.memberId = memberId;
    }

    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 getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Timestamp checkTime) {
        this.checkTime = checkTime;
    }

    public Timestamp getUptime() {
        return uptime;
    }

    public void setUptime(Timestamp uptime) {
        this.uptime = uptime;
    }

    public String getAccountStr() {
        return accountStr;
    }

    public void setAccountStr(String accountStr) {
        this.accountStr = accountStr;
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Byte getAge() {
        return age;
    }

    public void setAge(Byte age) {
        this.age = age;
    }

    public long getWeight() {
        return weight;
    }

    public void setWeight(long weight) {
        this.weight = weight;
    }

    public long getPulse() {
        return pulse;
    }

    public void setPulse(long pulse) {
        this.pulse = pulse;
    }

    public long getBreathRate() {
        return breathRate;
    }

    public void setBreathRate(long breathRate) {
        this.breathRate = breathRate;
    }

    public Double getAtmosPressure() {
        return atmosPressure;
    }

    public void setAtmosPressure(Double atmosPressure) {
        this.atmosPressure = atmosPressure;
    }

    public Double getLca() {
        return lca;
    }

    public void setLca(Double lca) {
        this.lca = lca;
    }

    public Double getRca() {
        return rca;
    }

    public void setRca(Double rca) {
        this.rca = rca;
    }

    public Double getLac() {
        return lac;
    }

    public void setLac(Double lac) {
        this.lac = lac;
    }

    public Double getRac() {
        return rac;
    }

    public void setRac(Double rac) {
        this.rac = rac;
    }

    public Double getAbd() {
        return abd;
    }

    public void setAbd(Double abd) {
        this.abd = abd;
    }

    public Double getTempSum() {
        return tempSum;
    }

    public void setTempSum(Double tempSum) {
        this.tempSum = tempSum;
    }

    public long getStable() {
        return stable;
    }

    public void setStable(long stable) {
        this.stable = stable;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(long createBy) {
        this.createBy = createBy;
    }

    public String getMachineNum() {
        return machineNum;
    }

    public void setMachineNum(String machineNum) {
        this.machineNum = machineNum;
    }

    public String getT0() {
        return t0;
    }

    public void setT0(String t0) {
        this.t0 = t0;
    }

    public String getT1() {
        return t1;
    }

    public void setT1(String t1) {
        this.t1 = t1;
    }

    public String getT2() {
        return t2;
    }

    public void setT2(String t2) {
        this.t2 = t2;
    }

    public String getT3() {
        return t3;
    }

    public void setT3(String t3) {
        this.t3 = t3;
    }

    public String getT4() {
        return t4;
    }

    public void setT4(String t4) {
        this.t4 = t4;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(long companyId) {
        this.companyId = companyId;
    }
}