package cn.meowrain.aioj.backend.blogservice.dto.req;

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

/**
 * 收藏夹创建请求DTO
 *
 * @author AIOJ
 */
@Data
@Schema(description = "收藏夹创建请求")
public class CollectionFolderCreateRequestDTO {

    @NotBlank(message = "收藏夹名称不能为空")
    @Schema(description = "收藏夹名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "我的技术收藏")
    private String name;

    @Schema(description = "收藏夹描述", example = "收集技术相关的优质文章")
    private String description;

    @Schema(description = "是否公开（1=公开，0=私有）", example = "0")
    private Integer isPublic = 0;
}
