package cn.com.countrygarden.bi.main.dto.personnel;

import cn.com.countrygarden.bi.main.dto.PersonnelTgDTO;

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


public class PersonExaminationDTO<T> implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3860308831911137046L;
	private String name;
	private String code;
	private Integer personnelId;
	private Integer personneltagId;
	private String regionName;
	private String identity;
	private List<T> type1;
	private List<T> type2;
	
	
	public PersonExaminationDTO(PersonnelTgDTO personnel, List<T> personnelWrittenexaminationVOType1,
                                List<T> personnelWrittenexaminationVOType2) {
		// TODO Auto-generated constructor stub
		this.name=personnel.getName();
		this.code=personnel.getUserId();
		this.personnelId=personnel.getPersonnelId();
		this.personneltagId=personnel.getPersonneltagId();
		this.identity=personnel.getIdentity();
	    this.regionName=personnel.getRegionName();		
		this.type1=personnelWrittenexaminationVOType1;
		this.type2=personnelWrittenexaminationVOType2;
		
	}
	
	public PersonExaminationDTO(List<T> personnelWrittenexaminationVOType1,
                                List<T> personnelWrittenexaminationVOType2) {
		// TODO Auto-generated constructor stub
		this.type1=personnelWrittenexaminationVOType1;
		this.type2=personnelWrittenexaminationVOType2;
		
	}

	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getPersonnelId() {
		return personnelId;
	}

	public void setPersonnelId(Integer personnelId) {
		this.personnelId = personnelId;
	}

	public List<T> getType1() {
		return type1;
	}

	public void setType1(List<T> type1) {
		this.type1 = type1;
	}

	public List<T> getType2() {
		return type2;
	}

	public void setType2(List<T> type2) {
		this.type2 = type2;
	}

	public Integer getPersonneltagId() {
		return personneltagId;
	}

	public void setPersonneltagId(Integer personneltagId) {
		this.personneltagId = personneltagId;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}
	
	
}

