package com.empl.mgr.dto;

import java.io.Serializable;

/**
 * 模块传输实体类
 * te5l.com [K]
 * @author Kiro
 */
public class ModuleDto implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	private String name;
	private String code;
	private String superCode;
	private String url;
	private int level;
	private boolean find;
	private boolean del;
	private boolean modify;
	private boolean add;

	public ModuleDto() {
		// TODO Auto-generated constructor stub
	}

	public ModuleDto(long id, String name, String code, String superCode, String url, int level) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.superCode = superCode;
		this.url = url;
		this.level = level;
	}

	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 getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSuperCode() {
		return superCode;
	}

	public void setSuperCode(String superCode) {
		this.superCode = superCode;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public boolean isFind() {
		return find;
	}

	public void setFind(boolean find) {
		this.find = find;
	}

	public boolean isDel() {
		return del;
	}

	public void setDel(boolean del) {
		this.del = del;
	}

	public boolean isModify() {
		return modify;
	}

	public void setModify(boolean modify) {
		this.modify = modify;
	}

	public boolean isAdd() {
		return add;
	}

	public void setAdd(boolean add) {
		this.add = add;
	}

	@Override
	public String toString() {
		return "ModuleDto [id:" + id + ", name:" + name + ", code:" + code + ", superCode:" + superCode + ", url:"
				+ url + ", level:" + level + ", find:" + find + ", del:" + del + ", modify:" + modify + ", add:"
				+ add + "]";
	}

}
