package com.goafanti.common.model;

import org.apache.commons.lang3.StringUtils;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.goafanti.common.utils.FileUtils;

public class OrgHumanResource {
    private String id;

    private String uid;

    /**
    * 企业职工总数
    */
    private Integer firmTotal;

    /**
    * 科技人员总数
    */
    private Integer techTotal;

    /**
    * 企业在职员工人数
    */
    private Integer firmInService;

    /**
    * 科技在职员工人数
    */
    private Integer techInService;

    /**
    * 企业兼职人数
    */
    private Integer firmPartTime;

    /**
    * 科技人员兼职人数
    */
    private Integer techPartTime;

    /**
    * 企业临时聘用人数
    */
    private Integer firmTemporary;

    /**
    * 科技人员临时聘用人数
    */
    private Integer techTemporary;

    /**
    * 企业外籍人员数
    */
    private Integer firmForeign;

    /**
    * 外籍科技人员数
    */
    private Integer techForeign;

    /**
    * 企业留学归国人员数
    */
    private Integer firmAbroad;

    /**
    * 留学归国科技人员数
    */
    private Integer techAbroad;

    /**
    * 企业千人计划人数
    */
    private Integer firmCore;

    /**
    * 千人计划科技人员数
    */
    private Integer techCore;

    /**
    * 博士人数
    */
    private Integer doctor;

    /**
    * 硕士人数
    */
    private Integer master;

    /**
    * 本科人数
    */
    private Integer undergraduate;

    /**
    * 大专人数
    */
    private Integer college;

    /**
    * 高级职称人数
    */
    private Integer seniorTitle;

    /**
    * 中级职称人数
    */
    private Integer intermediateTitle;

    /**
    * 初级职称人数
    */
    private Integer juniorTitle;

    /**
    * 高级技工人数
    */
    private Integer seniorMechanic;

    /**
    * 三十岁及以下员工人数
    */
    private Integer belowThirty;

    /**
    * 三十一至三十四岁员工人数
    */
    private Integer thirtyoneToThirtyfour;

    /**
    * 四十一至五十岁员工人数
    */
    private Integer fortyoneToFifty;

    /**
    * 五十岁以上员工人数
    */
    private Integer aboveFifty;
    
    /**
     * 年份
     */
    private Integer year;
    
    /**
     * 新增就业人数
     */
    private Integer newEmployment;
    
    /**
     * 高校应届毕业生人数
     */
    private Integer graduateNumber;
    
    /**
     * 花名册URL
     */
    private String rosterUrl;
    
    /**
     * 社保情况URL
     */
    private String socialSecurityUrl;
    
    /**
     * 删除标记
     */
    private Integer deletedSign;

    public String getId() {
        return id;
    }

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

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getFirmTotal() {
        return firmTotal;
    }

    public void setFirmTotal(Integer firmTotal) {
        this.firmTotal = firmTotal;
    }

    public Integer getTechTotal() {
        return techTotal;
    }

    public void setTechTotal(Integer techTotal) {
        this.techTotal = techTotal;
    }

    public Integer getFirmInService() {
        return firmInService;
    }

    public void setFirmInService(Integer firmInService) {
        this.firmInService = firmInService;
    }

    public Integer getTechInService() {
        return techInService;
    }

    public void setTechInService(Integer techInService) {
        this.techInService = techInService;
    }

    public Integer getFirmPartTime() {
        return firmPartTime;
    }

    public void setFirmPartTime(Integer firmPartTime) {
        this.firmPartTime = firmPartTime;
    }

    public Integer getTechPartTime() {
        return techPartTime;
    }

    public void setTechPartTime(Integer techPartTime) {
        this.techPartTime = techPartTime;
    }

    public Integer getFirmTemporary() {
        return firmTemporary;
    }

    public void setFirmTemporary(Integer firmTemporary) {
        this.firmTemporary = firmTemporary;
    }

    public Integer getTechTemporary() {
        return techTemporary;
    }

    public void setTechTemporary(Integer techTemporary) {
        this.techTemporary = techTemporary;
    }

    public Integer getFirmForeign() {
        return firmForeign;
    }

    public void setFirmForeign(Integer firmForeign) {
        this.firmForeign = firmForeign;
    }

    public Integer getTechForeign() {
        return techForeign;
    }

    public void setTechForeign(Integer techForeign) {
        this.techForeign = techForeign;
    }

    public Integer getFirmAbroad() {
        return firmAbroad;
    }

    public void setFirmAbroad(Integer firmAbroad) {
        this.firmAbroad = firmAbroad;
    }

    public Integer getTechAbroad() {
        return techAbroad;
    }

    public void setTechAbroad(Integer techAbroad) {
        this.techAbroad = techAbroad;
    }

    

    public Integer getFirmCore() {
		return firmCore;
	}

	public void setFirmCore(Integer firmCore) {
		this.firmCore = firmCore;
	}

	public Integer getTechCore() {
		return techCore;
	}

	public void setTechCore(Integer techCore) {
		this.techCore = techCore;
	}

	public Integer getDoctor() {
        return doctor;
    }

    public void setDoctor(Integer doctor) {
        this.doctor = doctor;
    }

    public Integer getMaster() {
        return master;
    }

    public void setMaster(Integer master) {
        this.master = master;
    }

    public Integer getUndergraduate() {
        return undergraduate;
    }

    public void setUndergraduate(Integer undergraduate) {
        this.undergraduate = undergraduate;
    }

    public Integer getCollege() {
        return college;
    }

    public void setCollege(Integer college) {
        this.college = college;
    }

    public Integer getSeniorTitle() {
        return seniorTitle;
    }

    public void setSeniorTitle(Integer seniorTitle) {
        this.seniorTitle = seniorTitle;
    }

    public Integer getIntermediateTitle() {
        return intermediateTitle;
    }

    public void setIntermediateTitle(Integer intermediateTitle) {
        this.intermediateTitle = intermediateTitle;
    }

    public Integer getJuniorTitle() {
        return juniorTitle;
    }

    public void setJuniorTitle(Integer juniorTitle) {
        this.juniorTitle = juniorTitle;
    }

    public Integer getSeniorMechanic() {
        return seniorMechanic;
    }

    public void setSeniorMechanic(Integer seniorMechanic) {
        this.seniorMechanic = seniorMechanic;
    }

    public Integer getBelowThirty() {
        return belowThirty;
    }

    public void setBelowThirty(Integer belowThirty) {
        this.belowThirty = belowThirty;
    }

    public Integer getThirtyoneToThirtyfour() {
        return thirtyoneToThirtyfour;
    }

    public void setThirtyoneToThirtyfour(Integer thirtyoneToThirtyfour) {
        this.thirtyoneToThirtyfour = thirtyoneToThirtyfour;
    }

    public Integer getFortyoneToFifty() {
        return fortyoneToFifty;
    }

    public void setFortyoneToFifty(Integer fortyoneToFifty) {
        this.fortyoneToFifty = fortyoneToFifty;
    }

    public Integer getAboveFifty() {
        return aboveFifty;
    }

    public void setAboveFifty(Integer aboveFifty) {
        this.aboveFifty = aboveFifty;
    }

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}
	
	

	public Integer getNewEmployment() {
		return newEmployment;
	}

	public void setNewEmployment(Integer newEmployment) {
		this.newEmployment = newEmployment;
	}

	public Integer getGraduateNumber() {
		return graduateNumber;
	}

	public void setGraduateNumber(Integer graduateNumber) {
		this.graduateNumber = graduateNumber;
	}

	public String getRosterUrl() {
		return rosterUrl;
	}

	public void setRosterUrl(String rosterUrl) {
		this.rosterUrl = rosterUrl;
	}

	public String getSocialSecurityUrl() {
		return socialSecurityUrl;
	}

	public void setSocialSecurityUrl(String socialSecurityUrl) {
		this.socialSecurityUrl = socialSecurityUrl;
	}
    
	@JsonIgnore
	public Integer getDeletedSign() {
		return deletedSign;
	}

	public void setDeletedSign(Integer deletedSign) {
		this.deletedSign = deletedSign;
	}

	public String getRosterDownloadFileName(){
		if (StringUtils.isBlank(this.rosterUrl)){
			return null;
		} else {
			return FileUtils.getDownloadFileName(this.rosterUrl);
		}
	}
	

	public void setRosterDownloadFileName(String rosterDownloadFileName){
		
	}
	
	public String getSocialSecurityDownloadFileName(){
		if (StringUtils.isBlank(this.socialSecurityUrl)){
			return null;
		} else {
			return FileUtils.getDownloadFileName(this.socialSecurityUrl);
		}
	}
	
	public void setSocialSecurityDownloadFileName(String socialSecurityDownloadFileName){
		
	}
	
    
}