package com.goafanti.demand.bo;


import java.util.List;

import org.apache.commons.lang3.time.DateFormatUtils;

import com.goafanti.common.constant.AFTConstants;
import com.goafanti.common.model.DemandFollow;

public class DemandFollowListBo extends DemandFollow{
	private String name;
	private String employerName;
	private String employerContactsMobile;
	private String employerContactsMailbox;
	private String adminName;
	private List<?> demandFollowDetail;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmployerName() {
		return employerName;
	}
	public void setEmployerName(String employerName) {
		this.employerName = employerName;
	}
	public String getEmployerContactsMobile() {
		return employerContactsMobile;
	}
	public void setEmployerContactsMobile(String employerContactsMobile) {
		this.employerContactsMobile = employerContactsMobile;
	}
	public String getEmployerContactsMailbox() {
		return employerContactsMailbox;
	}
	public void setEmployerContactsMailbox(String employerContactsMailbox) {
		this.employerContactsMailbox = employerContactsMailbox;
	}
	
	public String getLastFollowTimeFormattedDate() {
		if (getLastFollowTime() == null) {
			return null;
		} else {
			return DateFormatUtils.format(getLastFollowTime(), AFTConstants.YYYYMMDD);
		}
	}
	
	
	public String getAdminName() {
		return adminName;
	}
	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}
	public List<?> getDemandFollowDetail() {
		return demandFollowDetail;
	}
	public void setDemandFollowDetail(List<?> demandFollowDetail) {
		this.demandFollowDetail = demandFollowDetail;
	}
}
