package com.sino.mci.send.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sino.mci.shared.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mci_send_record")
public class SendRecord extends BaseEntity {

    private String taskId;
    private String tenantCode;
    private String targetType;
    private String targetValue;
    private String audienceRule;
    private Long conversationId;
    private Long personId;
    private Long accountId;
    private String channelType;
    private String channelStrategy;
    private String contentType;
    private String contentBody;
    private String callbackUrl;
    private Integer sendStatus;
    private Integer retryCount;
    private Integer maxRetry;
    private LocalDateTime nextRetryTime;
    private String channelResult;
    private LocalDateTime sendTime;
    private LocalDateTime finishTime;
}
