package com.backendsys.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class AppAuth {

    public static interface Login{}

    @NotEmpty(message = "手机号码不能为空", groups = { Login.class })
    private String phone;
    @NotEmpty(message = "密码不能为空", groups = { Login.class })
    private String password;
    @TableField(exist = false)
    @NotEmpty(message = "验证码不能为空", groups = { Login.class })
    private String captcha;

}
