package com.qqchen.deploy.backend.deploy.dto;

import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * Git仓库分支DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RepositoryBranchDTO extends BaseDTO {

    private String name;

    private Boolean isDefaultBranch;

    private Boolean isProtected;

    private Boolean canPush;

    private Boolean developersCanPush;

    private Boolean developersCanMerge;

    private String lastCommitId;

    private String lastCommitMessage;

    private String commitAuthor;

    private LocalDateTime commitDate;

    private String webUrl;

    private Long repoProjectId;

    private Long externalSystemId;
} 