package com.nanri.aiimage.modules.shopkey.model.dto;

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

@Data
@Schema(description = "店铺密钥更新请求")
public class ShopKeyUpdateRequest {

    @NotBlank(message = "紫鸟账号名称不能为空")
    @Size(max = 128, message = "紫鸟账号名称长度不能超过128个字符")
    @Schema(description = "紫鸟账号名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ziniaoAccountName;

    @NotBlank(message = "紫鸟令牌不能为空")
    @Size(max = 512, message = "紫鸟令牌长度不能超过512个字符")
    @Schema(description = "紫鸟令牌", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ziniaoToken;
}
