-
Notifications
You must be signed in to change notification settings - Fork 80
Implement Asset Module with Full CRUD + Extended Features #13
Copy link
Copy link
Closed
Labels
Description
Build a fully functional Asset module that enables users to create, read, update, and delete asset records, as well as manage asset metadata, upload associated files, and enhance traceability with QR codes and search/filter capabilities.
📌 Tasks
-
✅ Define Asset Entity:
- Include fields such as: name, description, category, location, status, image URL, QR code data, purchase date, value, etc.
- Establish relationships (e.g., belongs to a user or department, linked to maintenance logs, etc.)
-
✅ Implement CRUD Operations:
- Create Asset
- Retrieve list of assets (with pagination)
- Get single asset by ID
- Update Asset
- Delete Asset (soft delete preferred)
-
🔍 Add Filtering & Search:
- Filter by category, status, location, and date range
- Search by name, asset tag, or description (full-text or fuzzy search)
-
📷 File Upload Support:
- Allow users to upload one or more images per asset
- Store metadata and link file URLs to the asset entity
-
📎 Generate QR Code:
- Automatically generate a QR code for each asset
- QR should encode a unique identifier or asset URL
- Store the QR image as a file or base64 string
Reactions are currently unavailable