Bug 705

Summary: UserID can be null and can be changed
Product: CS3343_SEP_group8 Reporter: Meryem <malamikas2-c>
Component: ModelAssignee: Meryem <malamikas2-c>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: version0   
Hardware: PC   
OS: Windows   
Attachments: userID shouldn't be null

Description Meryem 2022-11-16 16:14:48 HKT
Created attachment 121 [details]
userID shouldn't be null

Problem location : User.java
Problem found : TestUser.java

The userID should be a unique (integer/String) that can't be changed and can't be null.

Solution : User class shouldn't have an empty constructer User()
User class shouldn't have a setter setuserID(String userID)