package com.seer.teach.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.config.mybatis.hanler.IntegerListTypeHandler;
import com.seer.teach.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * <p>
 * 模板消息自动发送配置表
 * </p>
 *
 * @author Wang
 * @since 2025-08-12 09:21:28
 */
@Getter
@Setter
@TableName(value ="mp_template_message_config", autoResultMap = true)
public class MpTemplateMessageConfigEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("app_id")
    private String appId;

    @TableField("template_id")
    private String templateId;

    @TableField("template_title")
    private String templateTitle;

    @TableField(value="group_ids",typeHandler = IntegerListTypeHandler.class)
    private List<Integer> groupIds;

    @TableField("business_scene_code")
    private String businessSceneCode;

    @TableField("`status`")
    private Integer status;

    @TableField("remark")
    private String remark;

    @TableField("url")
    private String url;

    @TableField("mini_program_app_id")
    private String miniProgramAppId;

    @TableField("mini_program_page_path")
    private String miniProgramPagePath;

}
