comment backend controllers

This commit is contained in:
2026-04-20 13:47:08 -06:00
parent 3c6382318b
commit 24e3d5ab80
31 changed files with 186 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
/*
* Handles requests for viewing user activity logs.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.activity.ActivityLogResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles pet adoption requests and approvals.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.adoption.AdoptionRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles AI-powered chat for getting pet care advice.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.ai.AiChatRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles dashboard analytics and sales reporting for staff and admins.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.analytics.DashboardResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles booking and managing pet service appointments.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.appointment.AppointmentRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles user login, registration, password reset, and profile updates.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.auth.AvatarUploadResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles shopping cart operations like adding and removing items.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.cart.*;

View File

@@ -1,3 +1,9 @@
/*
* Handles managing product and pet categories.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.category.CategoryRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles chat conversations and messages between users.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.chat.ConversationRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles real-time chat messaging over WebSocket connections.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.config.WebSocketAuthChannelInterceptor;

View File

@@ -1,3 +1,9 @@
/*
* Handles sending contact form messages from customers.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.entity.User;

View File

@@ -1,3 +1,9 @@
/*
* Handles creating and managing discount coupons.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles staff and admin operations for managing customer accounts.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles providing dropdown menu options for forms across the app.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.DropdownOption;

View File

@@ -1,3 +1,9 @@
/*
* Handles admin operations for managing employee accounts.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.user.UserRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles health check requests to verify the server is running.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import org.springframework.http.ResponseEntity;

View File

@@ -1,3 +1,9 @@
/*
* Handles tracking product stock levels across store locations.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles customers viewing and managing their own pets.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.pet.MyPetRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles managing pets available in the shop.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles uploading, retrieving, and deleting pet images.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.pet.PetResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles creating, updating, and browsing products in the shop.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles uploading, retrieving, and deleting product images.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.product.ProductResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles linking products to their suppliers.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.productsupplier.BulkDeleteProductSupplierRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles purchase orders for restocking products from suppliers.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.purchaseorder.PurchaseOrderResponse;

View File

@@ -1,3 +1,9 @@
/*
* Handles requesting and processing refunds for orders.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.refund.RefundRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles creating and viewing sales and customer orders.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.sale.SaleRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles managing pet services like grooming and veterinary care.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles managing store locations for the pet shop.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles managing suppliers who provide products to the shop.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;

View File

@@ -1,3 +1,9 @@
/*
* Handles uploading, retrieving, and deleting user profile pictures.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.entity.User;

View File

@@ -1,3 +1,9 @@
/*
* Handles admin operations for managing all user accounts.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.controller;
import com.petshop.backend.dto.common.BulkDeleteRequest;