package com.yhy.module.core.controller.admin.resource.vo;

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

import javax.validation.constraints.NotBlank;

@Data
public class CatalogCreateReqVO {

    @Schema(description = "库类型，默认 resource")
    private String type = "resource";

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED, example = "RES-2025Q1")
    @NotBlank
    private String versionNo;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "资源库 2025Q1")
    @NotBlank
    private String name;
}
