Commit 360470d
Fix database entity configurations and missing properties
- Fixed VehicleSpec index: Changed from 'vehicleId' to 'modelId' to match entity field
- Fixed VehiclePhoto index: Changed from 'vehicleId' to 'modelId' to match entity field
- Added missing 'note' property to Order entity with BsonElement attribute
- Added UpdateNote() method to Order entity
- Removed duplicate IsActive property from User entity (already existed)
- All entities now properly configured for MongoDB with correct field mappings
- Build successful with no compilation errors1 parent 0ebd0b8 commit 360470d
File tree
3 files changed
+12
-4
lines changed- VehicleShowroomManagement/src
- Domain/Entities
- Infrastructure/Persistence
- WebAPI/obj/Debug/net8.0
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
117 | 125 | | |
118 | 126 | | |
119 | 127 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
| 163 | + | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
Binary file not shown.
0 commit comments