package com.ruoyi.platform.domain;

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

import java.util.Date;
import java.io.Serializable;

/**
 * (ImageVersion)实体类
 *
 * @author Xidaray
 * @since 2024-03-05 15:00:02
 */
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
public class ImageVersion implements Serializable {
    private static final long serialVersionUID = 251017725389874890L;
    /**
     * 主键

     */
    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "对应的镜像ID")
    private Integer imageId;

    @ApiModelProperty(value = "镜像版本")
    private String version;

    @ApiModelProperty(value = "镜像版本描述")
    private String description;

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

    @ApiModelProperty(value = "镜像tag名称")
    private String tagName;

    @ApiModelProperty(value = "镜像文件大小")
    private String fileSize;

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

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "状态，0失效，1生效")
    private Integer state;

    @ApiModelProperty(value = "镜像所在主机ip")
    private String hostIp;
}

