package itn.let.cop.resve.service;

import java.io.Serializable;

/**
 * 대관관리 정보를 담기위한 엔티티 클래스
 * @author 공통 서비스 개발팀 이삼섭
 * @since 2009.03.12
 * @version 1.0
 * @see
 *  
 * <pre>
 * << 개정이력(Modification Information) >>
 * 
 *   수정일      수정자          수정내용
 *  -------    --------    ---------------------------
 *  2009.03.12  이삼섭          최초 생성
 *  2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
 *  
 *  </pre>
 */
@SuppressWarnings("serial")
public class Resve implements Serializable {
    
    /** 대관IDX */
    private long applyNum = 0L;
    
    /** 신청자명 */
    private String userName = "";
    
    /** 신청자구분(개인:P,법인:G) */
    private String userType = "";
    
    /** 신청자구분명 */
    private String userTypeNm = "";
    
    /** EMAIL */
    private String email = "";
    
    /** EMAIL1 */
    private String email1 = "";
    
    /** EMAIL2 */
    private String email2 = "";
    
    /** EMAIL select */
    private String emailSelect = "";
    
    /** 사용자화면게시여부 */
    private String display = "";
    
    /** 메인화면게시여부 */
    private String maindisplay = "";
    
    /** 전시시작일 */
    private String resSdate = "";
    
    /** 전시종료일 */
    private String resEdate = "";
    
    /** 신청일자 */
    private String resStart = "";
    
    /** 신청상태(그룹코드:00015) */
    private String resState = "";
    
    /** 신청상태명 */
    private String resStateNm = "";
    
    /** 삭제구분 D:삭제 */
    private String recordStatus = "";
    
    /** 전시구분(d:대관전시,g:기획전시) */
    private String exDevise = "";
   
    /** 전시명 */
    private String exName = "";
    
    /** 전시구성및안내 */
    private String exExplain = "";
    
    /** 관람시간 */
    private String exHours = "";
    
    /** 전시관1 */
    private String exRoom1 = "";
    
    /** 전시관2 */
    private String exRoom2 = "";
    
    /** 전시관3 */
    private String exRoom3 = "";
    
    /** 전시관4 */
    private String exRoom4 = "";
    
    /** 교육장 */
    private String exRoom5 = "";
    
    /** 세미나실 */
    private String exRoom6 = "";
    
    /** 전화번호1 */
    private String telHome1 = "";
    
    /** 전화번호2 */
    private String telHome2 = "";
    
    /** 전화번호3 */
    private String telHome3 = "";
    
    /** 휴대폰1 */
    private String telMobile1 = "";
    
    /** 휴대폰2 */
    private String telMobile2 = "";
    
    /** 휴대폰3 */
    private String telMobile3 = "";
    
    /** 작가및단체명 */
    private String authorName = "";
    
    /** 회사명(또는 단체명) */
    private String companyName = "";
    
    /** 사업자등록번호 */
    private String companyNumber = "";
    
    /** 그룹명 */
    private String groupName = "";
    
    /** 대표이미지 파일id */
    private String imgAtchFileId = "";
    
    /** 대표이미지(썸네일) 파일id */
    private String thumbAtchFileId = "";
    
    /** 포트폴리오 파일id */
    private String portfolioAtchFileId = "";

    /** 최종수정자 ID */
    private String memberId = "";

    /** 전시관 */
    private String selectExRoom = "";
    
    /** 여러날짜 쿼리 조건절 삽입용 */
    private String searchDate = "";
    
    /** 여러날짜 쿼리 조건절 삽입용 */
    private String searchDate1 = "";

    /** 달력일자(사용자 대관관리현황) */
    private String strDate = "";
    
    /** 교육장 AM */
    private String exRoom5Am = "";
    
    /** 교육 */
    private String exRoom5Pm = "";
    
	/**
	 * 전시관 Set
	 */
	public void setSelectExRoom(String selectExRoom) {
		this.selectExRoom = selectExRoom;
		
		switch (selectExRoom) {
			case "1" : this.exRoom1 = "r"; break; 
			case "2" : this.exRoom2 = "r"; break; 
			case "3" : this.exRoom3 = "r"; break; 
			case "4" : 
				this.exRoom2 = "r"; this.exRoom3 = "r";
				break; 
			case "5" : 
				this.exRoom1 = "r"; this.exRoom2 = "r"; this.exRoom3 = "r";
				break; 
			case "6" : this.exRoom5 = "r"; break; 
		}
	}
    
    /** 목록 - 전시관명(복수) */
    public String getExRooms() {
    	String exRooms = "";
    	String exType = ""; // g:전시관, e:교육장
    	
    	if (this.exRoom1 != null && ("r").equals(this.exRoom1)) {
    		exRooms += " 1"; exType = "g";
    	}
    	if (this.exRoom2 != null && ("r").equals(this.exRoom2)) {
    		exRooms += " 2"; exType = "g";
    	}
    	if (this.exRoom3 != null && ("r").equals(this.exRoom3)) {
    		exRooms += " 3"; exType = "g";
    	}
    	if (this.exRoom4 != null && ("r").equals(this.exRoom4)) {
    		exRooms += " 4"; exType = "g";
    	}
    	
    	if (this.exRoom5 != null && ("r").equals(this.exRoom5)) {
    		exType = "e";
    	}
    	
    	if (("g").equals(exType)) {
    		exRooms += "전시관";
    	} else if (("e").equals(exType)) {
    		exRooms = "교육장";
    	}
    	
    	return exRooms;
    }
        
	/**
	 * @return the applyNum
	 */
	public long getApplyNum() {
		return applyNum;
	}

	/**
	 * @param applyNum the applyNum to set
	 */
	public void setApplyNum(long applyNum) {
		this.applyNum = applyNum;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the userType
	 */
	public String getUserType() {
		return userType;
	}

	/**
	 * @param userType the userType to set
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the display
	 */
	public String getDisplay() {
		return display;
	}

	/**
	 * @param display the display to set
	 */
	public void setDisplay(String display) {
		this.display = display;
	}

	/**
	 * @return the maindisplay
	 */
	public String getMaindisplay() {
		return maindisplay;
	}

	/**
	 * @param maindisplay the maindisplay to set
	 */
	public void setMaindisplay(String maindisplay) {
		this.maindisplay = maindisplay;
	}

	/**
	 * @return the resSdate
	 */
	public String getResSdate() {
		return resSdate;
	}

	/**
	 * @param resSdate the resSdate to set
	 */
	public void setResSdate(String resSdate) {
		this.resSdate = resSdate;
	}

	/**
	 * @return the resEdate
	 */
	public String getResEdate() {
		return resEdate;
	}

	/**
	 * @param resEdate the resEdate to set
	 */
	public void setResEdate(String resEdate) {
		this.resEdate = resEdate;
	}

	/**
	 * @return the resStart
	 */
	public String getResStart() {
		return resStart;
	}

	/**
	 * @param resStart the resStart to set
	 */
	public void setResStart(String resStart) {
		this.resStart = resStart;
	}

	/**
	 * @return the resState
	 */
	public String getResState() {
		return resState;
	}

	/**
	 * @param resState the resState to set
	 */
	public void setResState(String resState) {
		this.resState = resState;
	}

	/**
	 * @return the recordStatus
	 */
	public String getRecordStatus() {
		return recordStatus;
	}

	/**
	 * @param recordStatus the recordStatus to set
	 */
	public void setRecordStatus(String recordStatus) {
		this.recordStatus = recordStatus;
	}

	/**
	 * @return the exDevise
	 */
	public String getExDevise() {
		return exDevise;
	}

	/**
	 * @param exDevise the exDevise to set
	 */
	public void setExDevise(String exDevise) {
		this.exDevise = exDevise;
	}

	/**
	 * @return the exName
	 */
	public String getExName() {
		return exName;
	}

	/**
	 * @param exName the exName to set
	 */
	public void setExName(String exName) {
		this.exName = exName;
	}

	/**
	 * @return the exExplain
	 */
	public String getExExplain() {
		return exExplain;
	}

	/**
	 * @param exExplain the exExplain to set
	 */
	public void setExExplain(String exExplain) {
		this.exExplain = exExplain;
	}

	/**
	 * @return the exRoom1
	 */
	public String getExRoom1() {
		return exRoom1;
	}

	/**
	 * @param exRoom1 the exRoom1 to set
	 */
	public void setExRoom1(String exRoom1) {
		this.exRoom1 = exRoom1;
	}

	/**
	 * @return the exRoom2
	 */
	public String getExRoom2() {
		return exRoom2;
	}

	/**
	 * @param exRoom2 the exRoom2 to set
	 */
	public void setExRoom2(String exRoom2) {
		this.exRoom2 = exRoom2;
	}

	/**
	 * @return the exRoom3
	 */
	public String getExRoom3() {
		return exRoom3;
	}

	/**
	 * @param exRoom3 the exRoom3 to set
	 */
	public void setExRoom3(String exRoom3) {
		this.exRoom3 = exRoom3;
	}

	/**
	 * @return the exRoom4
	 */
	public String getExRoom4() {
		return exRoom4;
	}

	/**
	 * @param exRoom4 the exRoom4 to set
	 */
	public void setExRoom4(String exRoom4) {
		this.exRoom4 = exRoom4;
	}

	/**
	 * @return the exRoom5
	 */
	public String getExRoom5() {
		return exRoom5;
	}

	/**
	 * @param exRoom5 the exRoom5 to set
	 */
	public void setExRoom5(String exRoom5) {
		this.exRoom5 = exRoom5;
	}

	/**
	 * @return the exRoom6
	 */
	public String getExRoom6() {
		return exRoom6;
	}

	/**
	 * @param exRoom6 the exRoom6 to set
	 */
	public void setExRoom6(String exRoom6) {
		this.exRoom6 = exRoom6;
	}

	/**
	 * @return the telHome1
	 */
	public String getTelHome1() {
		return telHome1;
	}

	/**
	 * @param telHome1 the telHome1 to set
	 */
	public void setTelHome1(String telHome1) {
		this.telHome1 = telHome1;
	}

	/**
	 * @return the telHome2
	 */
	public String getTelHome2() {
		return telHome2;
	}

	/**
	 * @param telHome2 the telHome2 to set
	 */
	public void setTelHome2(String telHome2) {
		this.telHome2 = telHome2;
	}

	/**
	 * @return the telHome3
	 */
	public String getTelHome3() {
		return telHome3;
	}

	/**
	 * @param telHome3 the telHome3 to set
	 */
	public void setTelHome3(String telHome3) {
		this.telHome3 = telHome3;
	}

	/**
	 * @return the telMobile1
	 */
	public String getTelMobile1() {
		return telMobile1;
	}

	/**
	 * @param telMobile1 the telMobile1 to set
	 */
	public void setTelMobile1(String telMobile1) {
		this.telMobile1 = telMobile1;
	}

	/**
	 * @return the telMobile2
	 */
	public String getTelMobile2() {
		return telMobile2;
	}

	/**
	 * @param telMobile2 the telMobile2 to set
	 */
	public void setTelMobile2(String telMobile2) {
		this.telMobile2 = telMobile2;
	}

	/**
	 * @return the telMobile3
	 */
	public String getTelMobile3() {
		return telMobile3;
	}

	/**
	 * @param telMobile3 the telMobile3 to set
	 */
	public void setTelMobile3(String telMobile3) {
		this.telMobile3 = telMobile3;
	}

	/**
	 * @return the authorName
	 */
	public String getAuthorName() {
		return authorName;
	}

	/**
	 * @param authorName the authorName to set
	 */
	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * @return the companyNumber
	 */
	public String getCompanyNumber() {
		return companyNumber;
	}

	/**
	 * @param companyNumber the companyNumber to set
	 */
	public void setCompanyNumber(String companyNumber) {
		this.companyNumber = companyNumber;
	}

	/**
	 * @return the groupName
	 */
	public String getGroupName() {
		return groupName;
	}

	/**
	 * @param groupName the groupName to set
	 */
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	/**
	 * @return the imgAtchFileId
	 */
	public String getImgAtchFileId() {
		return imgAtchFileId;
	}

	/**
	 * @param imgAtchFileId the imgAtchFileId to set
	 */
	public void setImgAtchFileId(String imgAtchFileId) {
		this.imgAtchFileId = imgAtchFileId;
	}

	/**
	 * @return the thumbAtchFileId
	 */
	public String getThumbAtchFileId() {
		return thumbAtchFileId;
	}

	/**
	 * @param thumbAtchFileId the thumbAtchFileId to set
	 */
	public void setThumbAtchFileId(String thumbAtchFileId) {
		this.thumbAtchFileId = thumbAtchFileId;
	}

	/**
	 * @return the portfolioAtchFileId
	 */
	public String getPortfolioAtchFileId() {
		return portfolioAtchFileId;
	}

	/**
	 * @param portfolioAtchFileId the portfolioAtchFileId to set
	 */
	public void setPortfolioAtchFileId(String portfolioAtchFileId) {
		this.portfolioAtchFileId = portfolioAtchFileId;
	}

	/**
	 * @return the userTypeNm
	 */
	public String getUserTypeNm() {
		return userTypeNm;
	}

	/**
	 * @param userTypeNm the userTypeNm to set
	 */
	public void setUserTypeNm(String userTypeNm) {
		this.userTypeNm = userTypeNm;
	}

	/**
	 * @return the resStateNm
	 */
	public String getResStateNm() {
		return resStateNm;
	}

	/**
	 * @param resStateNm the resStateNm to set
	 */
	public void setResStateNm(String resStateNm) {
		this.resStateNm = resStateNm;
	}

	/**
	 * @return the exHours
	 */
	public String getExHours() {
		return exHours;
	}

	/**
	 * @param exHours the exHours to set
	 */
	public void setExHours(String exHours) {
		this.exHours = exHours;
	}

	/**
	 * @return the email1
	 */
	public String getEmail1() {
		return email1;
	}

	/**
	 * @param email1 the email1 to set
	 */
	public void setEmail1(String email1) {
		this.email1 = email1;
	}

	/**
	 * @return the email2
	 */
	public String getEmail2() {
		return email2;
	}

	/**
	 * @param email2 the email2 to set
	 */
	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	/**
	 * @return the emailSelect
	 */
	public String getEmailSelect() {
		return emailSelect;
	}

	/**
	 * @param emailSelect the emailSelect to set
	 */
	public void setEmailSelect(String emailSelect) {
		this.emailSelect = emailSelect;
	}

	/**
	 * @return the memberId
	 */
	public String getMemberId() {
		return memberId;
	}

	/**
	 * @param memberId the memberId to set
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * @return the selectExroom
	 */
	public String getSelectExRoom() {
		return selectExRoom;
	}

	/**
	 * @return the searchDate
	 */
	public String getSearchDate() {
		return searchDate;
	}

	/**
	 * @param searchDate the searchDate to set
	 */
	public void setSearchDate(String searchDate) {
		this.searchDate = searchDate;
	}

	/**
	 * @return the searchDate1
	 */
	public String getSearchDate1() {
		return searchDate1;
	}

	/**
	 * @param searchDate1 the searchDate1 to set
	 */
	public void setSearchDate1(String searchDate1) {
		this.searchDate1 = searchDate1;
	}

	/**
	 * @return the strDate
	 */
	public String getStrDate() {
		return strDate;
	}

	/**
	 * @param strDate the strDate to set
	 */
	public void setStrDate(String strDate) {
		this.strDate = strDate;
	}

	/**
	 * @return the exRoom5Am
	 */
	public String getExRoom5Am() {
		return exRoom5Am;
	}

	/**
	 * @param exRoom5Am the exRoom5Am to set
	 */
	public void setExRoom5Am(String exRoom5Am) {
		this.exRoom5Am = exRoom5Am;
	}

	/**
	 * @return the exRoom5Pm
	 */
	public String getExRoom5Pm() {
		return exRoom5Pm;
	}

	/**
	 * @param exRoom5Pm the exRoom5Pm to set
	 */
	public void setExRoom5Pm(String exRoom5Pm) {
		this.exRoom5Pm = exRoom5Pm;
	}
	
}