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;
import java.util.List;

/**
 * Git实例信息 DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GitInstanceDTO extends BaseDTO {

    private int totalGroups;

    private LocalDateTime lastSyncGroupsTime;

    private int totalProjects;

    private LocalDateTime lastSyncProjectsTime;

    private int totalBranches;

    private LocalDateTime lastSyncBranchesTime;

    private List<RepositoryGroupDTO> repositoryGroupList;

    private List<RepositoryProjectDTO> repositoryProjectList;
} 