RiderMessageTemplate.java
872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
}