All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nb6868.onex.sys.entity.MsgTplEntity Maven / Gradle / Ivy

There is a newer version: 4.2.16
Show newest version
package com.nb6868.onex.sys.entity;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.nb6868.onex.common.pojo.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

/**
 * 消息模板
 *
 * @author Charles [email protected]
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sys_msg_tpl", autoResultMap = true)
@Alias("sys_msg_tpl")
public class MsgTplEntity extends BaseTenantEntity {

    /**
     * 编码
     */
    private String code;
    /**
     * 名称
     */
    private String name;
    /**
     * 类型 1验证码 2状态通知 3营销消息
     */
    private Integer type;
    /**
     * 渠道,短信sms/电邮email/微信公众号模板消息wx_mp_template/微信小程序订阅消息wx_ma_subscribe/站内信 notice
     */
    private String channel;
    /**
     * 平台 如aliyun/juhe
     */
    private String platform;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 配置参数
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private JSONObject params;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy