首页>代码>spring mvc+spring+mybatis+shiro+easyui整合开发后台用户权限管理系统改造为基于dubbo的分布式服务项目>/spring_shiro_training/spring_shiro_training_api/src/main/java/com/wangzhixuan/model/Role.java
package com.wangzhixuan.model; import java.io.Serializable; /** * @description:角色 * @author:zhixuan.wang * @date:2015/10/1 14:51 */ public class Role implements Serializable { private static final long serialVersionUID = -1756241579303707517L; private Long id; private String name; private Integer seq; private String description; private Integer status; 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 == null ? null : name.trim(); } public Integer getSeq() { return seq; } public void setSeq(Integer seq) { this.seq = seq; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description == null ? null : description.trim(); } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } @Override public String toString() { return "Role{" + "id=" + id + ", name='" + name + '\'' + ", seq=" + seq + ", description='" + description + '\'' + ", status=" + status + '}'; } }