5 Commits

Author SHA1 Message Date
dee6bc7bef feat: add person name and insert time to announcement DTO
- Added PersonName property to AnnouncementDto to display person's full name
- Added lookup logic to fetch person names from Persons table based on phone numbers
- Added InsertTime shadow property retrieval from EF Core to display creation date
- Updated model snapshot with new shadow properties (InsertTime, IsRemoved, RemoveTime, UpdateTime) for Chat entity
2026-06-11 19:42:58 +03:30
0e1b0345ec feat: disable identity auto-generation for reference/lookup tables
Reference tables (Province, City, BasicTable, IncomeCostTitle, UnitState, Transaction) require stable, manually assigned IDs that are cross-referenced by other entities. Identity auto-generation is disabled to allow explicit ID assignment from seed data.
2026-06-09 02:40:13 +03:30
6644db7e78 fix(db): update migration and configure many-to-many relationships to avoid cascade paths
- Regenerated InitialCreate migration to reflect new entity configurations
- Configured many-to-many relationship between CostCycle and Unit with NoAction on Unit side to prevent multiple cascade paths
- Updated UnitCost relationships: Cascade from CostCycle, NoAction from Unit
- Removed commented-out global filter code and replaced with explicit relationship configurations
2026-06-09 02:23:09 +03:30
569e39b58d Fix 'Invalid object name Provinces' error - reset migrations and switch to Migrate() 2026-06-09 02:13:29 +03:30
8e92c983a2 first commit 2026-06-02 20:48:16 +03:30