package com.yihu.ehr.model.quality;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 平台接收预警值
 * @author yeshijie on 2018/5/29.
 */
public class MDqPaltformReceiveWarning implements Serializable {

    private Long id;
    private String orgCode;//机构代码
    private String orgName;//机构名称
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private String updateUserId;//操作人id
    private String updateUserName;//操作人名称
    private Long archiveNum;//档案数
    private Long errorNum;//质量问题数
    private Integer hospitalInTime;//住院及时时间
    private Integer outpatientInTime;//门诊及时时间
    private Integer peInTime;//体检及时时间
    private String hospitalInTimeRate;//住院及时率
    private String outpatientInTimeRate;//门诊及时率
    private String peInTimeRate;//体检及时率
    private List<MDqDatasetWarning> datasetWarningList;//数据集
    private Integer datasetWarningNum;//数据集数量

    public Long getId() {
        return id;
    }

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

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Long getArchiveNum() {
        return archiveNum;
    }

    public void setArchiveNum(Long archiveNum) {
        this.archiveNum = archiveNum;
    }

    public Long getErrorNum() {
        return errorNum;
    }

    public void setErrorNum(Long errorNum) {
        this.errorNum = errorNum;
    }

    public Integer getHospitalInTime() {
        return hospitalInTime;
    }

    public void setHospitalInTime(Integer hospitalInTime) {
        this.hospitalInTime = hospitalInTime;
    }

    public Integer getOutpatientInTime() {
        return outpatientInTime;
    }

    public void setOutpatientInTime(Integer outpatientInTime) {
        this.outpatientInTime = outpatientInTime;
    }

    public Integer getPeInTime() {
        return peInTime;
    }

    public void setPeInTime(Integer peInTime) {
        this.peInTime = peInTime;
    }

    public String getHospitalInTimeRate() {
        return hospitalInTimeRate;
    }

    public void setHospitalInTimeRate(String hospitalInTimeRate) {
        this.hospitalInTimeRate = hospitalInTimeRate;
    }

    public String getOutpatientInTimeRate() {
        return outpatientInTimeRate;
    }

    public void setOutpatientInTimeRate(String outpatientInTimeRate) {
        this.outpatientInTimeRate = outpatientInTimeRate;
    }

    public String getPeInTimeRate() {
        return peInTimeRate;
    }

    public void setPeInTimeRate(String peInTimeRate) {
        this.peInTimeRate = peInTimeRate;
    }

    public List<MDqDatasetWarning> getDatasetWarningList() {
        return datasetWarningList;
    }

    public void setDatasetWarningList(List<MDqDatasetWarning> datasetWarningList) {
        this.datasetWarningList = datasetWarningList;
    }

    public Integer getDatasetWarningNum() {
        return datasetWarningNum;
    }

    public void setDatasetWarningNum(Integer datasetWarningNum) {
        this.datasetWarningNum = datasetWarningNum;
    }
}
