package com.codvision.monitor.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author KX
 * @date 2023/6/29 10:04
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GitVersion {

    @ApiModelProperty(value = "标签(git.tags)")
    private String tags;

    @ApiModelProperty(value = "最近标签(git.closest.tag.name)")
    private String closestTagName;

    @ApiModelProperty(value = "分支(git.branch)")
    private String branch;

    @ApiModelProperty(value = "构建编译主机(git.build.host)")
    private String buildHost;

    @ApiModelProperty(value = "构建编译用户名(git.build.user.name)")
    private String buildUserName;

    @ApiModelProperty(value = "构建编译用户邮箱(git.build.user.email)")
    private String buildUserEmail;

    @ApiModelProperty(value = "构建编译时间(git.build.time)")
    private String buildTime;

    @ApiModelProperty(value = "构建编译版本(git.build.version)")
    private String buildVersion;

    @ApiModelProperty(value = "提交id缩写(git.commit.id.abbrev)")
    private String commitIdAbbrev;

    @ApiModelProperty(value = "提交id(git.commit.id)")
    private String commitId;

    @ApiModelProperty(value = "提交用户名(git.commit.user.name)")
    private String commitUserName;

    @ApiModelProperty(value = "提交用户邮箱(git.commit.user.email)")
    private String commitUserEmail;

    @ApiModelProperty(value = "提交时间(git.commit.time)")
    private String commitTime;

    @ApiModelProperty(value = "提交信息(git.commit.message.full)")
    private String commitMessageFull;

    @ApiModelProperty(value = "总提交数(git.total.commit.count)")
    private String totalCommitCount;

    @ApiModelProperty(value = "远程仓库url(git.remote.origin.url)")
    private String remoteOriginUrl;

}
