Skip to content

feat(assets): implement asset registration module with CRUD APIs#285

Merged
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
mdauwal:feature/asset-registration-module
Oct 1, 2025
Merged

feat(assets): implement asset registration module with CRUD APIs#285
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
mdauwal:feature/asset-registration-module

Conversation

@mdauwal
Copy link
Contributor

@mdauwal mdauwal commented Sep 30, 2025

Implement Asset Registration Module #233

Overview

This PR introduces the Asset Registration Module, enabling the registration and management of organizational assets.
It provides full CRUD functionality and establishes relationships with related entities (categories, suppliers, and departments).

✨ Features Implemented

  • Entity: Defined Asset entity with the following fields:
    • serialNumber
    • purchaseDate
    • supplierId
    • warrantyEnd
    • assignedDepartmentId
  • DTOs: Added create and update DTOs with validation.
  • Service: Implemented service logic for asset registration, updates, deletion, and retrieval.
  • Controller: Exposed RESTful API endpoints for asset CRUD operations.
  • Relations: Linked assets with categories, suppliers, and departments.

✅ Acceptance Criteria

  • Assets table created with required fields
  • CRUD APIs functional for registering/updating assets
  • Assets linked to categories, suppliers, and departments

🔗 Related Issue

Closes #233

@vercel
Copy link

vercel bot commented Sep 30, 2025

@pricelesschap is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola yusuftomilola merged commit e9be435 into DistinctCodes:main Oct 1, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9. [BACKEND] Implement Asset Registration Module

3 participants