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

import com.microservices.system.api.domain.SysFileBytes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 制品组件Maven输入对象
 *
 * @author otto
 * @date 2024-06-28
 */
@Data
@ApiModel("制品文件Raw输入对象")
public class AssetRawInputVo {
    @ApiModelProperty(value = "文件名称")
    @NotBlank(message = "文件名称不能为空")
    private String filename;
    @ApiModelProperty(value = "文件标识")
    @NotBlank(message = "文件标识不能为空")
    private String fileIdentifier;
    @ApiModelProperty(value = "文件流", hidden = true)
    private SysFileBytes fileBytes;
    @ApiModelProperty(value = "制品标识")
    private String assetIdentifier;
}
