think/packages/domains/lib/models/message.d.ts

15 lines
251 B
TypeScript
Raw Normal View History

2022-04-02 17:57:30 +08:00
import { IUser } from './user';
2022-05-18 16:02:29 +08:00
/**
*
*/
2022-03-11 13:57:55 +08:00
export interface IMessage {
id: string;
2022-04-02 17:57:30 +08:00
userId: IUser['id'];
2022-03-11 13:57:55 +08:00
title: string;
message: string;
url: string;
read: boolean;
createdAt: Date;
updatedAt: Date;
}