package cn.reghao.bnt.web.devops.builder.tool.repo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 代码提交信息
 *
 * @author reghao
 * @date 2020-05-13 22:50:38
 */
@NoArgsConstructor
@Getter
@Setter
public class CommitInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String remote;
    private String branch;
    private String local;
    // 代码是否更新
    private Boolean updated;
    private String commitId;
    private String commitAuthor;
    private String commitMsg;
    // 毫秒级时间戳
    private Long msCommitTime;
    private List<ChangedFile> changedFiles;
}
