package cn.stylefeng.guns.sys.modular.system.model;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* 角色信息
|
*
|
* @author fengshuonan
|
* @Date 2018/12/8 18:16
|
*/
|
@Data
|
public class RoleDto implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
private Long roleId;
|
|
public static long getSerialVersionUID() {
|
return serialVersionUID;
|
}
|
|
public Long getRoleId() {
|
return roleId;
|
}
|
|
public void setRoleId(Long roleId) {
|
this.roleId = roleId;
|
}
|
|
public Long getPid() {
|
return pid;
|
}
|
|
public void setPid(Long pid) {
|
this.pid = pid;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
/**
|
* 父角色id
|
*/
|
private Long pid;
|
/**
|
* 角色名称
|
*/
|
private String name;
|
/**
|
* 提示
|
*/
|
private String description;
|
/**
|
* 序号
|
*/
|
private Integer sort;
|
}
|