fssa-batch3 / fssa-batch3/sec_a_naveenasri.nagarajan__corejava_project_2

Design module | Create Design Feature

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
design-module enhancement
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Creating Design Process

### User Story
- As a user, I want to be able to create a new design and add it to the collection.
- If a design is without valid details, the system should display an error message.

### Task: Implement Design Creation
- [ ] Develop the Data Access Object (DAO) Layer for design creation.
- [ ] Implement the Service Layer to handle the design creation process.
- [ ] Create JUnit Test Cases to validate the correctness of the design creation functionality.
- [ ] Ensure that all test cases pass successfully.
- [ ] Enhance code clarity by adding clear and concise comments to explain intricate logic.

### DAO:
- [ ] createDesign()

### Service:
- [ ] createDesign()

### Test:
- [ ] testCreateDesignSuccess()
- [ ] testNegativePriceValue()
- [ ] testNegativeRooms()
- [ ] testNullDesignObject()

### Estimation
- [ ] 4 hrs

## Flow
``` mermaid
graph TD
A[[Start]] -->|Architect Initiates Design Creation| B[Validate Design]
B -->|Valid| C[Search Existing Designs]
B -->|Invalid| E{Validation Exception}
C -->|Success| I[Design Added Successfully]
E -->|Fail| G[Failed to Add Design]
G --> H[[End]]
I --> H
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.