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

import cn.reghao.jutil.jdk.web.validator.ValidEnum;
import cn.reghao.tnb.file.app.zdisk.model.constant.AlbumType;
import lombok.Getter;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.util.List;

/**
 * @author reghao
 * @date 2025-09-05 17:19:17
 */
@Getter
public class ShareCreate {
    @NotNull
    private Long albumId;
    @ValidEnum(value = AlbumType.class, message = "合集类型不正确")
    private Integer albumType;
    @NotNull
    @Size(min = 1, max = 10, message = "最多可分享给 10 位用户")
    private List<String> shareToList;
}
