package cn.reghao.tnb.file.app.zoss.model.dto;

import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * @author reghao
 * @date 2024-02-27 11:21:07
 */
@Setter
@Getter
public class KeyAuthDto {
    @NotBlank
    @Size(min = 8, max = 8, message = "accessKeyId 长度应为 8 个字符")
    private String accessKeyId;
    @NotBlank
    @Size(min = 20, max = 20, message = "accessKeySecret 长度应为 20 字符")
    private String accessKeySecret;
}
