package com.ycwl.basic.model.pc.notify.entity;

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

import java.util.Date;

/**
 * 微信订阅消息发送日志（用于幂等与排障）
 *
 * @Author: System
 * @Date: 2025/12/31
 */
@Data
@TableName("wechat_subscribe_send_log")
public class WechatSubscribeSendLogEntity {

    @TableId
    private Long id;

    private String idempotencyKey;

    private String eventKey;

    private String templateKey;

    private Long scenicId;

    private Long memberId;

    private String openId;

    private String wechatTemplateId;

    private String ztMessageId;

    private String status;

    private String errorMessage;

    private String payloadJson;

    private Date createTime;

    private Date updateTime;
}

