comment backend entities and repos

This commit is contained in:
2026-04-20 14:24:33 -06:00
parent 24e3d5ab80
commit 447b5fc346
45 changed files with 315 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
/*
* Represents an activity log entry in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a pet adoption record in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents an appointment in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a shopping cart in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a single item in a shopping cart.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a product category in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a chat conversation between a customer and staff.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a discount coupon in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents inventory stock for a product.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a single message in a conversation.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a password reset token for a user.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.Column;

View File

@@ -1,3 +1,10 @@
/*
* Represents a pet in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a product in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents the link between a product and its supplier.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a purchase order placed with a supplier.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a refund for a sale.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a single item in a refund.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a sale transaction in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a single item in a sale.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a pet service offered by the store.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import jakarta.persistence.*;

View File

@@ -1,3 +1,10 @@
/*
* Represents a store location in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import com.petshop.backend.util.PhoneUtils;

View File

@@ -1,3 +1,10 @@
/*
* Represents a supplier in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import com.petshop.backend.util.PhoneUtils;

View File

@@ -1,3 +1,10 @@
/*
* Represents a user account in the database.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.entity;
import com.petshop.backend.util.PhoneUtils;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for activity logs.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.ActivityLog;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for adoptions.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Adoption;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for appointments.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Appointment;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for cart items.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.CartItem;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for shopping carts.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Cart;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for categories.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Category;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for conversations.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Conversation;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for coupons.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Coupon;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for inventory records.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Inventory;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for messages.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Message;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for password reset tokens.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.PasswordResetToken;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for pets.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Pet;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for products.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Product;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for product-supplier links.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.ProductSupplier;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for purchase orders.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.PurchaseOrder;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for refunds.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Refund;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for sale items.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.SaleItem;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for sales.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Sale;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for services.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Service;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for store locations.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.StoreLocation;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for suppliers.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.Supplier;

View File

@@ -1,3 +1,10 @@
/*
* Database queries for users.
*
* Author: Harkamal
* Date: April 2026
*/
package com.petshop.backend.repository;
import com.petshop.backend.entity.User;