fssa-batch3 / fssa-batch3/sec_b_inbalokesh.esakkipandi__corejava_project_2

Delete product

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Module: Products

- [ ] Create Product table
- [ ] Create Product Price table
- [ ] Create Product model
- [ ] Create Product Price model

### Feature 4: Delete Product

#### Pre-requisites:

- [ ] Product DAO (delete)
- [ ] Product Service (delete)

#### Validations:

- [ ] Form Validation
- id <= 0
- is active = 0

- [ ] Business Validation
- Check product id is present

#### Messages:
- [ ] Product Id cannot be zero or below zero
- [ ] Product not found

#### Flow:
```mermaid
graph TD;
A["Prodcuct Service: Delete Product"] --> B["Form Validation"]
B -- Valid --> C{Business Validation}
B -- Invalid --> G[Validation Exception]
C -- Valid --> D[Delete Product]
D --> E[Product Deleted]
C -- Invalid --> F[Validation Exception]
```

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.