package com.ai.da.model.dto;

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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import java.util.List;

@Data
@Schema(description = "Library编辑")
public class LibraryUpdateDTO {

    @NotEmpty(message = "libraryIds cannot be empty!")
    @Size(max = 100, min = 1)
    @Schema(description = "libraryId数组")
    private List<Long> libraryIds;

    @NotBlank(message = "libraryName cannot be empty!")
    @Schema(description = "library名字")
    private String libraryName;

    @NotBlank(message = "timeZone cannot be empty!")
    @Schema(description = "本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
    private String timeZone;

}
