aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/models/avatar/avatar.ts
blob: 2e7a8ae2c1e878c6210d3574c59789fb83e496d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                            
 



                                                     
 


                   
 

                 
 

                 
 
import { AllowNull, Column, CreatedAt, Model, Table, UpdatedAt } from 'sequelize-typescript'

@Table({
  tableName: 'avatar'
})
export class AvatarModel extends Model<AvatarModel> {

  @AllowNull(false)
  @Column
  filename: string

  @CreatedAt
  createdAt: Date

  @UpdatedAt
  updatedAt: Date
}