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;
|
}
|
}
|