import { Model, BuildOptions } from 'sequelize'; export interface IUserAttributes { id: number; name: string; createdAt: string; updatedAt: string; } export interface IUserModel extends IUserAttributes, Model { } export type IUserModelStatic = typeof Model & { new (values?: object, options?: BuildOptions): IUserModel; }