This commit is contained in:
2025-11-15 09:14:32 +03:30
parent 53ef6220c1
commit 84163f6c8c
7 changed files with 25 additions and 22 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { Category } from './category.entity';
import { BaseEntity } from '../../../common/entities/base.entity';
@Entity({ tableName: 'foods' })
export class Foods extends BaseEntity {
export class Food extends BaseEntity {
@ManyToMany(() => Category)
categories = new Collection<Category>(this);