package org.dromara.common.core.domain.model;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class WechatAppletRegisterBody implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "openId不能为空")
    private String openId;

    private String unionId;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    private String nickname;

    private Long avatar;
}
