This commit is contained in:
2025-11-15 09:01:32 +03:30
parent a863893972
commit 53ef6220c1
4 changed files with 4 additions and 4 deletions
@@ -1,6 +1,6 @@
import { Entity, Property, ManyToMany, Collection } from '@mikro-orm/core';
import { Foods } from './food.entity';
import { BaseEntity } from 'src/common/entities/base.entity';
import { BaseEntity } from '../../../common/entities/base.entity';
@Entity({ tableName: 'categories' })
export class Category extends BaseEntity {
+1 -1
View File
@@ -1,6 +1,6 @@
import { Collection, Entity, ManyToMany, Property } from '@mikro-orm/core';
import { Category } from './category.entity';
import { BaseEntity } from 'src/common/entities/base.entity';
import { BaseEntity } from '../../../common/entities/base.entity';
@Entity({ tableName: 'foods' })
export class Foods extends BaseEntity {