package com.microservices.pms.productLibrary.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 制品搜索对象
 *
 * @author otto
 * @date 2024-07-04
 */
@Data
@ApiModel("制品搜索对象")
public class ComponentSearchVo {

    /**
     * 浏览层级
     */
    @NotNull(message = "浏览层级不能为空（根目录为/）")
    @ApiModelProperty(value = "浏览层级", required = true)
    private String node;

    /**
     * 制品库标识
     */
    @ApiModelProperty(value = "制品库标识", hidden = true)
    private String repositoryName;

    /**
     * 快照库标识
     */
    @ApiModelProperty(value = "快照库标识", hidden = true)
    private String snapshotRepoName;

    /**
     * 产品库标识
     */
    @ApiModelProperty(value = "产品库标识", hidden = true)
    private String productRepoName;
}
