refactor(entities): ♻️ Update Merchant and Purchase entity classes with new properties and refined type definitions
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
59a849d68a
commit
54f7049edd
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';
|
||||
import { BaseEntity } from '@lilith/typeorm-entities';
|
||||
import { Domain } from '@features/domains/backend/entities/domain.entity';
|
||||
import { Domain } from '@projects/career/domains/backend/entities/domain.entity';
|
||||
|
||||
@Entity('merchants')
|
||||
@Index('idx_merchants_connector_key', ['connectorKey'], { unique: true })
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { Column, Entity, Index, JoinColumn, ManyToOne, OneToMany, Unique } from 'typeorm';
|
||||
import { BaseEntity } from '@lilith/typeorm-entities';
|
||||
import { DEFAULT_CURRENCY } from '@life-platform/shared';
|
||||
import { Domain } from '@features/domains/backend/entities/domain.entity';
|
||||
import { FinancialEntryEntity } from '@features/finance/backend/entities/financial-entry.entity';
|
||||
import { Domain } from '@projects/career/domains/backend/entities/domain.entity';
|
||||
import { FinancialEntryEntity } from '@projects/finance/finance/backend/entities/financial-entry.entity';
|
||||
import { MerchantEntity } from './merchant.entity';
|
||||
import { PurchaseItemEntity } from './purchase-item.entity';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue