package com.njcn.pojo.user;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * PQS_UserSet用户配置表。用户配置表主要包括限制登录IP、限制登录时间段、密码错误次数、是否开启短信通知等。
 */

@Table(name = "PQS_USERSET")
public class UserSet {

	@Id
	@Column(name = "USERSET_INDEX")
	private String userSetIndex;

	@Column(name = "USER_INDEX")
	private String userIndex;

	@Column(name = "RoleGp_Index")
	private  String  roleGpIndex;

	@Column(name = "Depts_Index")
	private String deptsIndex;

	@Column(name = "ISNOTICE")
	private Integer isNotice;

	public String getUserSetIndex() {
		return userSetIndex;
	}

	public void setUserSetIndex(String userSetIndex) {
		this.userSetIndex = userSetIndex;
	}

	public String getUserIndex() {
		return userIndex;
	}

	public void setUserIndex(String userIndex) {
		this.userIndex = userIndex;
	}

	public String getRoleGpIndex() {
		return roleGpIndex;
	}

	public void setRoleGpIndex(String roleGpIndex) {
		this.roleGpIndex = roleGpIndex;
	}

	public String getDeptsIndex() {
		return deptsIndex;
	}

	public void setDeptsIndex(String deptsIndex) {
		this.deptsIndex = deptsIndex;
	}

	public Integer getIsNotice() {
		return isNotice;
	}

	public void setIsNotice(Integer isNotice) {
		this.isNotice = isNotice;
	}

	@Override
	public String toString() {
		return "UserSet{" +
				"userSetIndex='" + userSetIndex + '\'' +
				", userIndex='" + userIndex + '\'' +
				", roleGpIndex='" + roleGpIndex + '\'' +
				", deptsIndex='" + deptsIndex + '\'' +
				", isNotice=" + isNotice +
				'}';
	}
}
