houzhongyi
2024-07-11 e7c1260db32209a078a962aaa0ad5492c35774fb
提交 | 用户 | 时间
e7c126 1 package com.iailab.module.system.controller.admin.socail.vo.user;
H 2
3 import com.iailab.framework.common.validation.InEnum;
4 import com.iailab.module.system.enums.social.SocialTypeEnum;
5 import io.swagger.v3.oas.annotations.media.Schema;
6 import lombok.AllArgsConstructor;
7 import lombok.Builder;
8 import lombok.Data;
9 import lombok.NoArgsConstructor;
10
11 import javax.validation.constraints.NotEmpty;
12 import javax.validation.constraints.NotNull;
13
14 @Schema(description = "管理后台 - 取消社交绑定 Request VO")
15 @Data
16 @NoArgsConstructor
17 @AllArgsConstructor
18 @Builder
19 public class SocialUserUnbindReqVO {
20
21     @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22     @InEnum(SocialTypeEnum.class)
23     @NotNull(message = "社交平台的类型不能为空")
24     private Integer type;
25
26     @Schema(description = "社交用户的 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
27     @NotEmpty(message = "社交用户的 openid 不能为空")
28     private String openid;
29
30 }