zjk
9 小时以前 8ea6a7dd1fcdbd4e22c564ed63a5a8023510161a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.ruoyi.auth.form;
 
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
 
/**
 * 邀请码小程序码查询入参
 *
 * @author hugray
 */
public class InviteQrcodeQuery
{
    /** 邀请码,作为小程序码 scene(8 位 A-Z0-9) */
    @NotBlank(message = "请输入邀请码")
    @Pattern(regexp = "^[A-Z0-9]{8}$", message = "邀请码格式不正确")
    private String code;
 
    public String getCode()
    {
        return code;
    }
 
    public void setCode(String code)
    {
        this.code = code;
    }
}