1 import * as Sequelize from 'sequelize'
2 import { addMethodsToModel } from '../utils'
3 import { AvatarAttributes, AvatarInstance } from './avatar-interface'
5 let Avatar: Sequelize.Model<AvatarInstance, AvatarAttributes>
7 export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) {
8 Avatar = sequelize.define<AvatarInstance, AvatarAttributes>('Avatar',
11 type: DataTypes.STRING,
18 const classMethods = []
19 addMethodsToModel(Avatar, classMethods)
24 // ------------------------------ Statics ------------------------------