| New file | 
|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.voBa; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson2.JSONArray; | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2024-01-10 15:13 | 
|---|
|  |  |  | * @LastEditTime 2024-01-10 15:13 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Schema(title = "角色信息视图对象") | 
|---|
|  |  |  | public class VoRole implements BaseEntity { | 
|---|
|  |  |  | private static final long serialVersionUID = 202401241704001L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "角色编号") | 
|---|
|  |  |  | private String roleId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "角色名称") | 
|---|
|  |  |  | private String roleName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "权限ID") | 
|---|
|  |  |  | private Long perId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "权限列表") | 
|---|
|  |  |  | private JSONArray permissions; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Schema(title = "操作人") | 
|---|
|  |  |  | private String operator; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
|---|
|  |  |  | @Schema(title = "操作时间") | 
|---|
|  |  |  | private Date operateDt; | 
|---|
|  |  |  | } | 
|---|