package com.yihu.ehr.agModel.adapter;

import com.yihu.ehr.util.validate.Required;
import com.yihu.ehr.util.validate.Valid;

/**
 * @author lincl
 * @version 1.0
 * @created 2016.2.3
 */
@Valid
public class AdapterDataSetModel {

	private Long id;
	private Long adapterPlanId;
	/**
	 * 数据集
	 */
	private Long dataSetId;
	private String dataSetCode;
	private String dataSetName;

	/**
	 * 数据元
	 */
	private Long metaDataId;
	private String metaDataCode;
	private String metaDataName;

	private String dataType;
	private String dataTypeName;
	/**
	 * 机构数据集
	 */
	private Long orgDataSetSeq;
	private String orgDataSetCode;
	private String orgDataSetName;
	/**
	 * 机构数据元
	 */
	private Long orgMetaDataSeq;
	private String orgMetaDataCode;
	private String orgMetaDataName;

	private String description;

	public AdapterDataSetModel(){	}

	public void finalize() throws Throwable {	}

	public Long getId() {
		return id;
	}

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

	@Required(filedName = "适配方案")
	public Long getAdapterPlanId() {
		return adapterPlanId;
	}

	public void setAdapterPlanId(Long adapterPlanId) {
		this.adapterPlanId = adapterPlanId;
	}

	@Required(filedName = "标准数据集")
	public Long getDataSetId() {
		return dataSetId;
	}

	public void setDataSetId(Long dataSetId) {
		this.dataSetId = dataSetId;
	}

	@Required(filedName = "标准数据元")
	public Long getMetaDataId() {
		return metaDataId;
	}

	public void setMetaDataId(Long metaDataId) {
		this.metaDataId = metaDataId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDataSetCode() {
		return dataSetCode;
	}

	public void setDataSetCode(String dataSetCode) {
		this.dataSetCode = dataSetCode;
	}

	public String getDataSetName() {
		return dataSetName;
	}

	public void setDataSetName(String dataSetName) {
		this.dataSetName = dataSetName;
	}

	public String getMetaDataCode() {
		return metaDataCode;
	}

	public void setMetaDataCode(String metaDataCode) {
		this.metaDataCode = metaDataCode;
	}

	public String getMetaDataName() {
		return metaDataName;
	}

	public void setMetaDataName(String metaDataName) {
		this.metaDataName = metaDataName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getDataTypeName() {
		return dataTypeName;
	}

	public void setDataTypeName(String dataTypeName) {
		this.dataTypeName = dataTypeName;
	}

	public Long getOrgDataSetSeq() {
		return orgDataSetSeq;
	}

	public void setOrgDataSetSeq(Long orgDataSetSeq) {
		this.orgDataSetSeq = orgDataSetSeq;
	}

	public String getOrgDataSetCode() {
		return orgDataSetCode;
	}

	public void setOrgDataSetCode(String orgDataSetCode) {
		this.orgDataSetCode = orgDataSetCode;
	}

	public String getOrgDataSetName() {
		return orgDataSetName;
	}

	public void setOrgDataSetName(String orgDataSetName) {
		this.orgDataSetName = orgDataSetName;
	}

	public Long getOrgMetaDataSeq() {
		return orgMetaDataSeq;
	}

	public void setOrgMetaDataSeq(Long orgMetaDataSeq) {
		this.orgMetaDataSeq = orgMetaDataSeq;
	}

	public String getOrgMetaDataCode() {
		return orgMetaDataCode;
	}

	public void setOrgMetaDataCode(String orgMetaDataCode) {
		this.orgMetaDataCode = orgMetaDataCode;
	}

	public String getOrgMetaDataName() {
		return orgMetaDataName;
	}

	public void setOrgMetaDataName(String orgMetaDataName) {
		this.orgMetaDataName = orgMetaDataName;
	}
}