parent
35f5ee4677
commit
59fc020616
@ -0,0 +1,32 @@
|
|||||||
|
package cn.iocoder.yudao.module.system.controller.admin.permission.vo.role;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
||||||
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
||||||
|
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class RoleExportExcelVO {
|
||||||
|
|
||||||
|
@ExcelProperty("角色序号")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@ExcelProperty("角色名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ExcelProperty("角色标志")
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
@ExcelProperty("角色排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
@ExcelProperty(value = "角色状态", converter = DictConvert.class)
|
||||||
|
@DictFormat(DictTypeConstants.COMMON_STATUS)
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@ExcelProperty(value = "数据范围", converter = DictConvert.class)
|
||||||
|
@DictFormat(DictTypeConstants.DATA_SCOPE)
|
||||||
|
private Integer dataScope;
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in new issue