package com.reyun.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class RoleCategory {

	private Long id;
	private String name;
	private String menu;
	private boolean canselect;
	private boolean pay;
	private boolean isnatureopen;
	private boolean retention;
	private int parent;
	private int role;
	private String rolename;
	private String descp;
	
	public RoleCategory() {
		super();
	}

	public RoleCategory(Long id, String name, String menu) {
		super();
		this.id = id;
		this.name = name;
		this.menu = menu;
	}



	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMenu() {
		return menu;
	}

	public void setMenu(String menu) {
		this.menu = menu;
	}

	public boolean isCanselect() {
		return canselect;
	}

	public void setCanselect(boolean canselect) {
		this.canselect = canselect;
	}

	public boolean isPay() {
		return pay;
	}

	public void setPay(boolean pay) {
		this.pay = pay;
	}

	public boolean isIsnatureopen() {
		return isnatureopen;
	}

	public void setIsnatureopen(boolean isnatureopen) {
		this.isnatureopen = isnatureopen;
	}

	public boolean isRetention() {
		return retention;
	}

	public void setRetention(boolean retention) {
		this.retention = retention;
	}

	public int getParent() {
		return parent;
	}

	public void setParent(int parent) {
		this.parent = parent;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getDescp() {
		return descp;
	}

	public void setDescp(String descp) {
		this.descp = descp;
	}
	

}
