|  |  | 
 |  |  | import io.swagger.v3.oas.annotations.media.Schema; | 
 |  |  | import jakarta.validation.constraints.NotBlank; | 
 |  |  | import jakarta.validation.constraints.Positive; | 
 |  |  | import jakarta.validation.constraints.Size; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Schema(name = "角色权限实体") | 
 |  |  | public class BaRolePermissions implements BaseEntity { | 
 |  |  |     public static final long serialVersionUID = 1L; | 
 |  |  |     public static final long serialVersionUID = 202401151612001L; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 主键 | 
 |  |  | 
 |  |  |     @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @Positive(message = "角色编号必须为大于0的整数") | 
 |  |  |     private Long roleid; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 角色名称 | 
 |  |  |      */ | 
 |  |  |     @Schema(description = "角色名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
 |  |  |     @Size(max = 20) | 
 |  |  |     private String roleName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 权限列表 |