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

12 lines
221 B
TypeScript
Raw Normal View History

2022-03-11 05:57:55 +00:00
import { IUser } from "./user";
export interface IMessage {
id: string;
userId: IUser["id"];
title: string;
message: string;
url: string;
read: boolean;
createdAt: Date;
updatedAt: Date;
}