AMPReportDetail.java 1.34 KB
package com.xkl.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户数据的domain类
 */
@Entity
@Table(name = "xkl_amp_report_detail")
public class AMPReportDetail {

    //自增id
    @Id
    @Column(name = "id")
    private long id;

    // 报告id
    @Column(name = "report_id")
    private int report_id;

    // 指标id
    @Column(name = "item_id")
    private int item_id;

    // 指标值
    @Column(name = "item_value")
    private float item_value;


    // 0, normal; 1, lower; 2, higher.
    @Column(name = "status")
    private int status;

    public long getId() {
        return id;
    }

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

    public int getReport_id() {
        return report_id;
    }

    public void setReport_id(int report_id) {
        this.report_id = report_id;
    }

    public int getItem_id() {
        return item_id;
    }

    public void setItem_id(int item_id) {
        this.item_id = item_id;
    }

    public float getItem_value() {
        return item_value;
    }

    public void setItem_value(float item_value) {
        this.item_value = item_value;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}