package org.hzhub.crm.domain.vo;

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

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

/**
 * CRM同步预警视图对象
 *
 * @author hzhub
 */
@Data
@AutoMapper(target = CrmSyncAlert.class)
public class CrmSyncAlertVo {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    private String tenantId;
    private Long syncLogId;
    private Long dealerId;
    private String customerCode;
    private String alertType;
    private String crmValue;
    private String erpValue;
    private String alertMessage;
    private String status;
    private Long resolvedBy;
    private Date resolvedTime;
    private String resolvedNote;
    private Date createTime;

    // 扩展字段
    private String dealerName;
    private String alertTypeName;
    private String statusName;
    private String resolvedByName;
}