@alisdigital/types-library
Version:
TypeScript type definitions for Papilet ecosystem with session soft delete and event management features
12 lines (11 loc) • 327 B
TypeScript
import { IImageModelAttributes } from "../../Base/entities/image.entity";
import { RoleType } from "../enum/role.enum";
export interface IUserModelAttributes {
name: string;
email: string;
password: string;
phoneNumber: string;
isActive: boolean;
image?: IImageModelAttributes;
roles: RoleType[];
}