import { DataTypes , Model , BuildOptions } from 'sequelize' ; export interface BaseModel { creator : string ; modifier : string ; readonly createdAt : Date ; readonly updatedAt : Date ; } export type BaseModelStatic < T > = typeof Model & ( new ( values ? , options ? ) => T ) ; export const BaseModelProps = { creator : { type : DataTypes . STRING ( 16 ) , } , modifier : { type : DataTypes . STRING ( 16 ) , } , } ;