fssa-batch3 / fssa-batch3/sec_b_santhosh.devendran__corejava_project_2
update user
- 主要语言
- HTML
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Feature: update User
>Create a new user in a database.
#### Pre-requisites:
- [ ] Complete create User feature
- [ ] user DAO( update user )
- [ ] user service ( update (User user) )
#### Validations:
- [ ] Form Validation
* update ( User user )
* user null
* name ( null, empty, pattern )
* email ( null, empty, pattern )
* password ( null, empty, pattern )
* phone number ( length, >= 600000001 && <= 9999999999 )
- [ ] Business Validation
* check the user Already exists
#### Messages:
* Invalid User object
* Invalid name input
* Invalid email input
* Invalid password input
* Invalid phone number input
* User not exists
#### Flow:
```mermaid
graph TD;
A[Value Passed to UserService - User Object] --> B[Form Validation & Business Validation]
B--> C{Validation Result}
C -- Valid --> D[Value Passed to UserDAO]
D --> E[update Value in Database]
C -- Invalid --> F[Validation Exception]
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。