Merge remote-tracking branch 'origin/main'
commit
40eba6b618
@ -0,0 +1 @@
|
||||
ALTER TABLE system_users ADD COLUMN `white_list` tinyint(10) NOT NULL COMMENT '白名单';
|
@ -0,0 +1,24 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @author: cyl
|
||||
* @Description:
|
||||
* @create: 2023/11/10 12:48
|
||||
*/
|
||||
@Schema(description = "管理后台 - 用户更新白名单状态 Request VO")
|
||||
@Data
|
||||
public class UserUpdateWhiteListReqVo {
|
||||
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
@NotNull(message = "角色编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "状态,见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@NotNull(message = "状态不能为空")
|
||||
// @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
|
||||
private Integer whiteList;
|
||||
}
|
Loading…
Reference in New Issue