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

import com.qqchen.deploy.backend.deploy.enums.ExternalSystemSyncStatus;
import com.qqchen.deploy.backend.deploy.enums.RepositorySyncType;
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 RepositorySyncHistoryDTO extends BaseDTO {

    private String number;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private String errorMessage;

    private ExternalSystemSyncStatus status;

    private RepositorySyncType syncType;

    private Long externalSystemId;
} 