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;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 制品库-仓库对象 pms_product_library_repositories
 *
 * @author otto
 * @date 2024-06-20
 */
@Data
@ApiModel("普通制品移入产品库对象")
public class CommonAssetAddToProductRepoVo {
    @ApiModelProperty(value = "制品Id列表")
    @Size(min = 1, message = "制品Id列表不能为空")
    private List<String> assetIdList;
    @ApiModelProperty(value = "制品库标识", hidden = true)
    private String productRepoName;
    @ApiModelProperty(value = "制品库标识", hidden = true)
    private String repoName;
    @ApiModelProperty(value = "组织标识", hidden = true)
    private String enterpriseIdentifier;
    @ApiModelProperty(value = "目录：上传文件的目录（例如/path/to/files/）")
    @NotNull(message = "目录不能为空")
    private String directory;
}
