40 lines
669 B
TypeScript
40 lines
669 B
TypeScript
import type { PageParam } from '@/api';
|
||
|
||
/**
|
||
* 消息表
|
||
*/
|
||
export interface ThinkMessage {
|
||
//
|
||
id?: number;
|
||
// 消息类型
|
||
t?: string;
|
||
// 消息标题
|
||
title?: string;
|
||
// 消息内容
|
||
content?: string;
|
||
// 发送者,1系统
|
||
from?: number;
|
||
// 接收者
|
||
to?: number;
|
||
// 是否已读,1是 0否
|
||
isRead?: number;
|
||
// 关联表名
|
||
tableName?: string;
|
||
// 关联表id
|
||
tableId?: number;
|
||
// 读取时间
|
||
readTime?: string;
|
||
// 创建时间
|
||
createTime?: number;
|
||
// 更新时间
|
||
updateTime?: number;
|
||
}
|
||
|
||
/**
|
||
* 消息表搜索条件
|
||
*/
|
||
export interface ThinkMessageParam extends PageParam {
|
||
id?: number;
|
||
keywords?: string;
|
||
}
|