1 import { Column, CreatedAt, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript'
2 import { AttributesOnly } from '@shared/core-utils'
3 import { TagModel } from './tag'
4 import { VideoModel } from './video'
17 export class VideoTagModel extends Model<Partial<AttributesOnly<VideoTagModel>>> {
24 @ForeignKey(() => VideoModel)
28 @ForeignKey(() => TagModel)