package com.seer.teach.mp.admin.controller.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "模板消息自动发送配置表")
@Data
public class MpTemplateMessageConfigResp {

    @Schema(description = "ID")
    private Integer id;

    @Schema(description = "app ID")
    @TableField("app_id")
    private String appId;

    @Schema(description = "模板ID")
    @TableField("template_id")
    private String templateId;

    @Schema(description = "模板标题")
    private String templateTitle;

    @Schema(description = "群组ID")
    private List<Integer> groupIds;

    @Schema(description = "业务场景编码")
    @TableField("business_scene_code")
    private String businessSceneCode;

    @Schema(description = "状态：0-禁用，1-启用")
    @TableField("`status`")
    private Integer status;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "模板跳转链接")
    private String url;

    @Schema(description = "跳转小程序appid")
    private String miniProgramAppId;

    @Schema(description = "跳转到小程序的页面路径")
    private String miniProgramPagePath;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
