package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 部署记录视图对象
 *
 * @author kangyu
 * @since 2024-10-08 14:14
 */
@Getter
@Setter
@Schema( description = "部署记录视图对象")
public class RecordVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;
    @Schema(description = "文件名称")
    private String fileName;
    @Schema(description = "文件类型")
    private String fileType;
    @Schema(description = "url")
    private String url;
    @Schema(description = "版本号")
    private String version;
    @Schema(description = "文件类型 jar后端包 dist 前端包")
    private String pageType;
    @Schema(description = "上传路径")
    private String path;
    @Schema(description = "上传说明")
    private String description;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @Schema(description = "上传用户")
    private String nickname;
    @Schema(description = "所属项目")
    private String project;
    @Schema(description = "所属项目标签")
    private String projectLabel;
    @Schema(description = "日志")
    private String log;
    @Schema(description = "端口")
    private String port;

    
}
