@arsendoman/book-publisher-store
Version:
A Nest.js package for book publishing and storing
14 lines (12 loc) • 325 B
text/typescript
import { Role } from './';
import { BaseEntity } from './base.entity';
import { BookCategoryEnum } from '../enums/book.category.enum';
export class Profile extends BaseEntity {
username: string;
email: string;
password: string;
bio: string;
image: string;
role: Role;
favoriteCategories: BookCategoryEnum[];
}