package com.usky.issue.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 同步状态统计
 *
 * @author fyc
 * @date 2026-05-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("issue_sync_status")
public class IssueSyncStatus extends CloudAuditEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long configId;

    private String syncType;

    private String typeName;

    private Integer totalCount;

    private Integer successCount;

    private Integer failureCount;

    private Integer unsyncedCount;

    private LocalDateTime lastSyncTime;
}
