remove unused

This commit is contained in:
2026-03-09 14:55:40 +03:30
parent 3549d3eab8
commit 4033760d0f
109 changed files with 33 additions and 7739 deletions
+2 -4
View File
@@ -1,14 +1,12 @@
import { Entity, Index, Property, OneToMany, Collection, Cascade } from '@mikro-orm/core';
import { BaseEntity } from '../../../common/entities/base.entity';
import { UserAddress } from './user-address.entity';
import { Order } from 'src/modules/orders/entities/order.entity';
import { normalizePhone } from '../../utils/phone.util';
import { normalizePhone } from '../../utils/phone.util';
@Entity({ tableName: 'users' })
@Index({ properties: ['isActive'] })
export class User extends BaseEntity {
@OneToMany(() => Order, order => order.user)
orders = new Collection<Order>(this);
@Property()
firstName!: string;