RiderMessageTemplate.java 872 Bytes
package com.diligrp.rider.entity;

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

/**
 * 消息模板表
 */
@Data
@TableName("rider_message_template")
public class RiderMessageTemplate {

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 业务类型标识 */
    private String bizType;

    /** 消息类型:1=订单 2=系统 */
    private Integer type;

    /** 标题模板,支持 #{key} 占位符 */
    private String titleTemplate;

    /** 内容模板,支持 #{key} 占位符 */
    private String contentTemplate;

    /** 是否实时推送:0=否 1=是 */
    private Integer isPush;

    /** 状态:0=禁用 1=启用 */
    private Integer status;

    /** 创建时间 */
    private Long createTime;
}