package com.seer.teach.iot.common.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotEmpty;

/**
 *
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-11-21 20:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "认证请求实体类")
public class AuthReq {

    @NotEmpty(message = "accessKey不可为空")
    private String accessKey;

    @NotEmpty(message = "unionId不可为空")
    private String unionId;

    private String code;

}