Finish role add and get
This commit is contained in:
@@ -5,11 +5,11 @@ import jakarta.validation.constraints.NotBlank
|
||||
|
||||
data class RoleAddParam(
|
||||
@Schema(description = "角色名称")
|
||||
@field:NotBlank
|
||||
val name: String,
|
||||
@field:NotBlank(message = "Name can not be blank")
|
||||
val name: String?,
|
||||
|
||||
@Schema(description = "启用")
|
||||
val enable: Boolean = true,
|
||||
val enable: Boolean? = true,
|
||||
|
||||
@Schema(description = "权限 ID 列表")
|
||||
val powerIds: List<Long>? = null
|
||||
|
||||
Reference in New Issue
Block a user