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

17 lines
318 B
TypeScript
Raw Normal View History

2022-04-02 09:57:30 +00:00
import { IUser } from './user';
2022-05-18 08:02:29 +00:00
/**
*
*/
2022-03-11 05:57:55 +00:00
export interface ITemplate {
id: string;
2022-04-02 09:57:30 +00:00
createUserId: IUser['id'];
2022-03-11 05:57:55 +00:00
createUser: IUser;
title: string;
content: string;
state: string;
usageAmount: number;
isPublic: boolean;
createdAt: Date;
updatedAt: Date;
}