forked from Harshil1823/Learning-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataConstants.java
More file actions
24 lines (22 loc) · 1.1 KB
/
DataConstants.java
File metadata and controls
24 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
public class DataConstants{
protected static final String USER_FILE_NAME = "users.json";
protected static final String COURSE_FILE_NAME = "courses.json";
protected static final String USER_ID = "id";
protected static final String USER_FIRST_NAME = "firstName";
protected static final String USER_LAST_NAME = "lastName";
protected static final String USER_EMAIL = "email";
protected static final String USER_PHONENUMBER = "phoneNumber";
protected static final String USER_USERNAME = "userName";
protected static final String USER_PASSWORD = "password";
protected static final String IS_AUTHOR = "isAuthor";
//Course Constants
protected static final String COURSE_ID = "courseid";
protected static final String COURSE_TITLE="title";
protected static final String COURSE_DESCRIPTION="description";
protected static final String COURSE_MODULE="modules";
protected static final String DIFFICULTY = "difficulty";
protected static final String COURSE_TOPIC = "topic";
protected static final String COURSE_QUESTIONS = "questions";
protected static final String COMMENTS = "comments";
protected static final String REVIEW = "review";
}