This commit is contained in:
2025-11-16 11:07:14 +03:30
parent fae765e05a
commit d605303e52
15 changed files with 331 additions and 17 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { Entity, Property, OneToMany, Collection, OneToOne } from '@mikro-orm/core';
import { RefreshToken } from './refresh-token.entity';
import { BaseEntity } from '../../../common/entities/base.entity';
import { Restaurant } from 'src/modules/restaurants/entities/restaurant.entity';
import { Restaurant } from '../../restaurants/entities/restaurant.entity';
@Entity({ tableName: 'users' })
export class User extends BaseEntity {