package org.dromara.auth.form;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.domain.model.LoginBody;

/**
 * 微信公众号登录对象
 *
 * @author Lion Li
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WxPubLoginBody extends LoginBody {

    @NotBlank(message = "微信授权code不能为空")
    private String wxcode;

    @NotBlank(message = "站点名称不能为空")
    private String domain;

}
