package org.dromara.demo.domain.dto;

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

@Data
public class KaoshixingStudentRequest {

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

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

    /** 页码，从1开始 */
    @NotNull(message = "page不能为空")
    @Min(value = 1, message = "page必须>=1")
    private Integer page;

    /** JWT 过期秒数，默认300秒 */
    private Integer expSeconds = 300;
}
