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_event_template")
public class WechatSubscribeEventTemplateEntity {

    @TableId
    private Long id;

    private String eventKey;

    private String templateKey;

    /**
     * 景区ID；0=默认配置
     */
    private Long scenicId;

    /**
     * 是否启用：1启用 0禁用
     */
    private Integer enabled;

    private Integer sortOrder;

    private Integer sendDelaySeconds;

    private Integer dedupSeconds;

    private Date createTime;

    private Date updateTime;
}

