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

12 lines
221 B
TypeScript

import { IUser } from './user';
export interface IMessage {
id: string;
userId: IUser['id'];
title: string;
message: string;
url: string;
read: boolean;
createdAt: Date;
updatedAt: Date;
}