Skip to content

[BE-15] Implement Department entity and DepartmentsModule #580

@yusuftomilola

Description

@yusuftomilola

Overview

Create the Department entity and wire up the DepartmentsModule with its service inside backend/contrib/.

Location

All work must be inside backend/contrib/src/departments/.

Acceptance Criteria

  • Department entity with fields: id (UUID), name (unique), description (nullable), createdAt, updatedAt
  • DepartmentsService with: findAll(), findOne(id), create(dto), remove(id)
  • DepartmentsModule exports DepartmentsService for use in AssetsModule
  • Entity registered with TypeORM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions