package com.reyun.model;

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

@Entity
public class Menu {

	private Long id;
	// 授权处显示的名字
	private String name;
	// 对应的参数
	private String menu;
	
	private	boolean isRetentionMenu;
	
	private boolean isPayMenu;
	
	private String retentionReport;
	
	private String payReport;
	
	private int orderIndex;

	private String parent;

	private boolean canShow;
	

	public Menu() {
		super();
	}

	@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 String getParent() {
		return parent;
	}

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

	public boolean isCanShow() {
		return canShow;
	}

	public void setCanShow(boolean canShow) {
		this.canShow = canShow;
	}

	public int getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(int orderIndex) {
		this.orderIndex = orderIndex;
	}

	public boolean isRetentionMenu() {
		return isRetentionMenu;
	}

	public void setRetentionMenu(boolean isRetentionMenu) {
		this.isRetentionMenu = isRetentionMenu;
	}

	public String getRetentionReport() {
		return retentionReport;
	}

	public void setRetentionReport(String retentionReport) {
		this.retentionReport = retentionReport;
	}

	public String getPayReport() {
		return payReport;
	}

	public void setPayReport(String payReport) {
		this.payReport = payReport;
	}

	public boolean isPayMenu() {
		return isPayMenu;
	}

	public void setPayMenu(boolean isPayMenu) {
		this.isPayMenu = isPayMenu;
	}
	
}
