package com.ruoyi.platform.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
public class ImageVo implements Serializable {


    /**
     * 镜像名称
     */
    @ApiModelProperty(name = "name")
    private String name;
    /**
     * 镜像描述
     */
    @ApiModelProperty(name = "description")
    private String description;

    @ApiModelProperty(name = "version_description")
    private String versionDescription;

    /**
     * 镜像类型
     */

    @ApiModelProperty(name = "image_type")
    private Integer imageType;


    /**
     * 镜像版本
     */
    @ApiModelProperty(name = "version")
    private String version;

    /**
     * 镜像推送地址
     */
    @ApiModelProperty(name = "value")
    private String value;

    /**
     * 镜像tag名称
     */
    @ApiModelProperty(name = "tag_name")
    private String tagName;

    /**
     * 镜像文件大小
     */
    @ApiModelProperty(name = "file_size")
    private String fileSize;

    @ApiModelProperty(name = "file_name")
    private String fileName;

    /**
     * 镜像构建状态
     */
    @ApiModelProperty(name = "status")
    private String status;

    @ApiModelProperty(name = "upload_type", value = "上传方式, 基于公网上传0，基于本地上传1")
    private Integer uploadType;

    @ApiModelProperty(value = "镜像上传路径")
    private String path;


    @ApiModelProperty(name = "dev_environment_id", value = "环境id")
    private Integer devEnvironmentId;
}
