blob: 2e7a8ae2c1e878c6210d3574c59789fb83e496d0 (
plain) (
tree)
|
|
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
}
|