**Critical DTO Fixes:** - ServiceResponse/Request: id → serviceId, price → servicePrice, description → serviceDesc - SaleItemRequest: productId → prodId, removed unitPrice (backend doesn't require) - SaleItemResponse: id → saleItemId, added prodId, removed lineTotal (calculated locally) - TopProduct: added productId, quantitySold Integer → Long, totalRevenue → revenue - DailySales: date LocalDate → String, totalSales → revenue, added salesCount **Controller Updates:** - Updated 17+ controllers and dialog controllers to use renamed DTO fields - Fixed AnalyticsController to use nested SalesSummary and InventorySummary structures - Fixed ServiceController/ServiceDialogController to use serviceDuration - Fixed LoginController CUSTOMER rejection to use lblError instead of missing showError() - Updated all ProductResponse, SupplierResponse, PetResponse, AdoptionResponse, etc. usages **Files Changed:** - 6 DTO classes (service, sale, analytics) - 17+ controller classes across main and dialog controllers **Verification:** - Desktop project compiles successfully with mvn clean compile - All critical JSON mapping misalignments resolved - Phase 6, 7, and 8 complete
44 lines
570 B
Plaintext
44 lines
570 B
Plaintext
target/
|
|
!.mvn/wrapper/maven-wrapper.jar
|
|
!**/src/main/**/target/
|
|
!**/src/test/**/target/
|
|
.kotlin
|
|
|
|
### IntelliJ IDEA ###
|
|
.idea/modules.xml
|
|
.idea/jarRepositories.xml
|
|
.idea/compiler.xml
|
|
.idea/libraries/
|
|
*.iws
|
|
*.iml
|
|
*.ipr
|
|
|
|
### Eclipse ###
|
|
.apt_generated
|
|
.classpath
|
|
.factorypath
|
|
.project
|
|
.settings
|
|
.springBeans
|
|
.sts4-cache
|
|
|
|
### NetBeans ###
|
|
/nbproject/private/
|
|
/nbbuild/
|
|
/dist/
|
|
/nbdist/
|
|
/.nb-gradle/
|
|
build/
|
|
!**/src/main/**/build/
|
|
!**/src/test/**/build/
|
|
|
|
### VS Code ###
|
|
.vscode/
|
|
|
|
### Mac OS ###
|
|
.DS_Store
|
|
|
|
## Database related
|
|
connectionpetstore.properties
|
|
.idea/workspace.xml
|