package com.sckw.auth.model.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

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

/**
 * @author cxf
 * @desc 刷新Token请求入参
 * @date 2026/1/14
 */
@Data
public class RefreshTokenReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 刷新令牌
     */
    @NotBlank(message = "刷新令牌不能为空")
    @Schema(description = "刷新令牌")
    private String refreshToken;

    /**
     * 设备类型
     */
    @Schema(description = "设备类型")
    private String clientType;

    /**
     * 系统类型
     */
    @Schema(description = "系统类型")
    private Integer systemType;

    /**
     * 设备唯一标识
     */
    @Schema(description = "设备唯一标识")
    private String deviceId;
}
