package org.hzhub.crm.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.hzhub.crm.domain.CrmSyncLog;

import java.io.Serial;
import java.util.Date;

/**
 * CRM同步日志视图对象
 *
 * @author hzhub
 */
@Data
@AutoMapper(target = CrmSyncLog.class)
public class CrmSyncLogVo {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    private String tenantId;
    private String syncType;
    private String syncDirection;
    private String status;
    private Date startTime;
    private Date endTime;
    private Integer duration;
    private Integer totalCount;
    private Integer syncedCount;
    private Integer updatedCount;
    private Integer alertCount;
    private Integer errorCount;
    private String errorMsg;
    private String operator;
    private Date createTime;

    // 扩展字段
    private String syncTypeName;
    private String statusName;
}