feat(consumables): ✨ Add ConsumableItem and ConsumableLog entity classes with consumption tracking fields
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
d2a111059d
commit
b5e1242f82
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';
|
||||
import { BaseEntity } from '@lilith/typeorm-entities';
|
||||
import { Project } from '@features/projects/backend/entities/project.entity';
|
||||
import { Project } from '@projects/productivity/projects/backend/entities/project.entity';
|
||||
|
||||
@Entity('medication_schedules')
|
||||
@Index('idx_medication_schedules_domain_id', ['domainId'])
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm';
|
||||
import { BaseEntity } from '@lilith/typeorm-entities';
|
||||
import { FoodEntry } from '@features/health/backend/entities/food-entry.entity';
|
||||
import { FoodEntry } from '@projects/wellness/health/backend/entities/food-entry.entity';
|
||||
import { ConsumableItem } from './consumable-item.entity';
|
||||
|
||||
@Entity('consumable_logs')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue