package kcg.faics.sec;

import java.io.Serializable;

/** 
 * LoginUserVO.java
 * @author 임새미 
 * @since 2016. 10. 13.
 *
 *  	 수정일                     수정자                                       수정내용
 *  -------------	--------	---------------------------
 *  2016. 10. 13. 	    임새미				       최초생성
 * 
 */
public class LoginUserVO implements Serializable {

	private static final long serialVersionUID = -442635991774448712L;

	/**
	 * rnum.
	 */
	private int rnum;
	
	/**
	 * 경찰 타입. 외사경찰 : 1, 일반 경찰 : 2
	 */
	private int type;
	
	/* DB 컬럼 */
	/**
	 * 사용자 ID.
	 */
	private String userid;
	/**
	 * 비밀번호.
	 */
	private String passwd;
	/**
	 * 주민등록번호.
	 */
	private String idno;
	/**
	 * 이름.
	 */
	private String name;
	/**
	 * 소속1.
	 */
	private String place1;
	/**
	 * 소속2.
	 */
	private String place2;
	/**
	 * 소속3(계:외사/협력/기타).
	 */
	private String place3;
	/**
	 * 계급.
	 */
	private String position;
	/**
	 * 직책(없음/반장/계장/과장).
	 */
	private String duties;
	/**
	 * 현재 로그인 여부.
	 */
	private String loginchk;
	/**
	 * IP.
	 */
	private String ip;
	/**
	 * 사용자 등급.
	 */
	private int usegrade;
	
	/* 권한 & 직무코드에 따른 명칭 */
	private String role;
	/**
	 * 소속1 명칭.
	 */
	private String place1Str;
	/**
	 * 소속1 명칭 약자.
	 */
	private String place1Yak;
	/**
	 * 소속2 명칭.
	 */
	private String place2Str;
	/**
	 * 소속3 명칭.
	 */
	private String place3Str;
	/**
	 * 계급 명칭.
	 */
	private String positionStr;
	/**
	 * 직급 명칭.
	 */
	private String dutiesStr;

	
	/* 시스템 권한*/
	/**
	 * 권한 레벨.
	 */
	private int rolelevel; 
	/**
	 * 각 기관의 관리자 여부.
	 */
	private boolean isAdmin;
	
	/**
	 * 시스템 관리자 여부. 
	 */
	private boolean isSysAdmin;
	
	private int authType;
	private int authAdmin;
	private int authSection;
	private int authHead;
	private int authApprove;
	

	/* 견문 권한 */
	private int authCode;
	private int authSearch;
	private int authStatistics;
	private int authWaitList;
	private int authManage;
	private int authProxySection;
	private int authProxyHead;
	
	/**
	 * 로그인 실패횟수.
	 */
	private int chkcnt = 0;
	
	/**
	 * @return the rnum
	 */
	public int getRnum() {
		return rnum;
	}
	/**
	 * @param rnum the rnum to set
	 */
	public void setRnum(final int rnum) {
		this.rnum = rnum;
	}
	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(final int type) {
		this.type = type;
	}
	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(final String userid) {
		this.userid = userid;
	}
	/**
	 * @return the passwd
	 */
	public String getPasswd() {
		return passwd;
	}
	/**
	 * @param passwd the passwd to set
	 */
	public void setPasswd(final String passwd) {
		this.passwd = passwd;
	}
	/**
	 * @return the idno
	 */
	public String getIdno() {
		return idno;
	}
	/**
	 * @param idno the idno to set
	 */
	public void setIdno(final String idno) {
		this.idno = idno;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(final String name) {
		this.name = name;
	}
	/**
	 * @return the place1
	 */
	public String getPlace1() {
		return place1;
	}
	/**
	 * @param place1 the place1 to set
	 */
	public void setPlace1(final String place1) {
		this.place1 = place1;
	}
	/**
	 * @return the place2
	 */
	public String getPlace2() {
		return place2;
	}
	/**
	 * @param place2 the place2 to set
	 */
	public void setPlace2(final String place2) {
		this.place2 = place2;
	}
	/**
	 * @return the place3
	 */
	public String getPlace3() {
		return place3;
	}
	/**
	 * @param place3 the place3 to set
	 */
	public void setPlace3(final String place3) {
		this.place3 = place3;
	}
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(final String position) {
		this.position = position;
	}
	/**
	 * @return the duties
	 */
	public String getDuties() {
		return duties;
	}
	/**
	 * @param duties the duties to set
	 */
	public void setDuties(final String duties) {
		this.duties = duties;
	}
	/**
	 * @return the loginchk
	 */
	public String getLoginchk() {
		return loginchk;
	}
	/**
	 * @param loginchk the loginchk to set
	 */
	public void setLoginchk(final String loginchk) {
		this.loginchk = loginchk;
	}
	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * @param ip the ip to set
	 */
	public void setIp(final String ip) {
		this.ip = ip;
	}
	/**
	 * @return the usegrade
	 */
	public int getUsegrade() {
		return usegrade;
	}
	/**
	 * @param usegrade the usegrade to set
	 */
	public void setUsegrade(final int usegrade) {
		this.usegrade = usegrade;
	}
	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}
	/**
	 * @param role the role to set
	 */
	public void setRole(final String role) {
		this.role = role;
	}
	/**
	 * @return the place1Str
	 */
	public String getPlace1Str() {
		return place1Str;
	}
	/**
	 * @param place1Str the place1Str to set
	 */
	public void setPlace1Str(final String place1Str) {
		this.place1Str = place1Str;
	}
	/**
	 * @return the place1Yak
	 */
	public String getPlace1Yak() {
		return place1Yak;
	}
	/**
	 * @param place1Yak the place1Yak to set
	 */
	public void setPlace1Yak(final String place1Yak) {
		this.place1Yak = place1Yak;
	}
	/**
	 * @return the place2Str
	 */
	public String getPlace2Str() {
		return place2Str;
	}
	/**
	 * @param place2Str the place2Str to set
	 */
	public void setPlace2Str(final String place2Str) {
		this.place2Str = place2Str;
	}
	/**
	 * @return the place3Str
	 */
	public String getPlace3Str() {
		return place3Str;
	}
	/**
	 * @param place3Str the place3Str to set
	 */
	public void setPlace3Str(final String place3Str) {
		this.place3Str = place3Str;
	}
	/**
	 * @return the positionStr
	 */
	public String getPositionStr() {
		return positionStr;
	}
	/**
	 * @param positionStr the positionStr to set
	 */
	public void setPositionStr(final String positionStr) {
		this.positionStr = positionStr;
	}
	/**
	 * @return the dutiesStr
	 */
	public String getDutiesStr() {
		return dutiesStr;
	}
	/**
	 * @param dutiesStr the dutiesStr to set
	 */
	public void setDutiesStr(final String dutiesStr) {
		this.dutiesStr = dutiesStr;
	}
	/**
	 * @return the rolelevel
	 */
	public int getRolelevel() {
		return rolelevel;
	}
	/**
	 * @param rolelevel the rolelevel to set
	 */
	public void setRolelevel(final int rolelevel) {
		this.rolelevel = rolelevel;
	}
	/**
	 * @return the isAdmin
	 */
	public boolean getIsAdmin() {
		return isAdmin;
	}
	/**
	 * @param isAdmin the isAdmin to set
	 */
	public void setIsAdmin(final boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
	/**
	 * @return the isSysAdmin
	 */
	public boolean getIsSysAdmin() {
		return isSysAdmin;
	}
	/**
	 * @param isSysAdmin the isSysAdmin to set
	 */
	public void setIsSysAdmin(final boolean isSysAdmin) {
		this.isSysAdmin = isSysAdmin;
	}
	/**
	 * @return the authType
	 */
	public int getAuthType() {
		return authType;
	}
	/**
	 * @param authType the authType to set
	 */
	public void setAuthType(final int authType) {
		this.authType = authType;
	}
	/**
	 * @return the authAdmin
	 */
	public int getAuthAdmin() {
		return authAdmin;
	}
	/**
	 * @param authAdmin the authAdmin to set
	 */
	public void setAuthAdmin(final int authAdmin) {
		this.authAdmin = authAdmin;
	}
	/**
	 * @return the authSection
	 */
	public int getAuthSection() {
		return authSection;
	}
	/**
	 * @param authSection the authSection to set
	 */
	public void setAuthSection(final int authSection) {
		this.authSection = authSection;
	}
	/**
	 * @return the authHead
	 */
	public int getAuthHead() {
		return authHead;
	}
	/**
	 * @param authHead the authHead to set
	 */
	public void setAuthHead(final int authHead) {
		this.authHead = authHead;
	}
	/**
	 * @return the authApprove
	 */
	public int getAuthApprove() {
		return authApprove;
	}
	/**
	 * @param authApprove the authApprove to set
	 */
	public void setAuthApprove(final int authApprove) {
		this.authApprove = authApprove;
	}
	/**
	 * @return the authCode
	 */
	public int getAuthCode() {
		return authCode;
	}
	/**
	 * @param authCode the authCode to set
	 */
	public void setAuthCode(final int authCode) {
		this.authCode = authCode;
	}
	/**
	 * @return the authSearch
	 */
	public int getAuthSearch() {
		return authSearch;
	}
	/**
	 * @param authSearch the authSearch to set
	 */
	public void setAuthSearch(final int authSearch) {
		this.authSearch = authSearch;
	}
	/**
	 * @return the authStatistics
	 */
	public int getAuthStatistics() {
		return authStatistics;
	}
	/**
	 * @param authStatistics the authStatistics to set
	 */
	public void setAuthStatistics(final int authStatistics) {
		this.authStatistics = authStatistics;
	}
	/**
	 * @return the authWaitList
	 */
	public int getAuthWaitList() {
		return authWaitList;
	}
	/**
	 * @param authWaitList the authWaitList to set
	 */
	public void setAuthWaitList(final int authWaitList) {
		this.authWaitList = authWaitList;
	}
	/**
	 * @return the authManage
	 */
	public int getAuthManage() {
		return authManage;
	}
	/**
	 * @param authManage the authManage to set
	 */
	public void setAuthManage(final int authManage) {
		this.authManage = authManage;
	}
	/**
	 * @return the authProxySection
	 */
	public int getAuthProxySection() {
		return authProxySection;
	}
	/**
	 * @param authProxySection the authProxySection to set
	 */
	public void setAuthProxySection(final int authProxySection) {
		this.authProxySection = authProxySection;
	}
	/**
	 * @return the authProxyHead
	 */
	public int getAuthProxyHead() {
		return authProxyHead;
	}
	/**
	 * @param authProxyHead the authProxyHead to set
	 */
	public void setAuthProxyHead(final int authProxyHead) {
		this.authProxyHead = authProxyHead;
	}
	/**
	 * @return the chkcnt
	 */
	public final int getChkcnt() {
		return chkcnt;
	}
	/**
	 * @param chkcnt the chkcnt to set
	 */
	public final void setChkcnt(final int chkcnt) {
		this.chkcnt = chkcnt;
	}
}
