| | 1 | = Conceptual Design – ER Diagram and Data Requirements = |
| | 2 | |
| | 3 | == ER Diagram == |
| | 4 | |
| | 5 | The following figure presents the conceptual Entity–Relationship (ER) diagram of the |
| | 6 | Online Learning Platform Management System (OLPMS). It illustrates the main entities, |
| | 7 | their attributes, and the relationships between users, instructors, courses, enrollments, |
| | 8 | payments, subscriptions, learning content, and certificates. |
| | 9 | |
| | 10 | [[Image(OLPMS_ER_Diagram.png, 900)]] |
| | 11 | |
| | 12 | == Data Requirements == |
| | 13 | |
| | 14 | === Entities === |
| | 15 | |
| | 16 | * **Users** |
| | 17 | * user_id (primary key) |
| | 18 | * first_name |
| | 19 | * last_name |
| | 20 | * email |
| | 21 | * password |
| | 22 | |
| | 23 | * **Instructors** |
| | 24 | * instructor_id (primary key) |
| | 25 | * bio |
| | 26 | * expertise |
| | 27 | |
| | 28 | * **Course** |
| | 29 | * course_id (primary key) |
| | 30 | * name |
| | 31 | * price |
| | 32 | * status |
| | 33 | |
| | 34 | * **Enrollment** |
| | 35 | * enrollment_id (primary key) |
| | 36 | * enroll_date |
| | 37 | * completion_status |
| | 38 | * progress_percentage |
| | 39 | |
| | 40 | * **Payment** |
| | 41 | * payment_id (primary key) |
| | 42 | * amount |
| | 43 | |
| | 44 | * **SubscriptionPlan** |
| | 45 | * plan_id (primary key) |
| | 46 | * name |
| | 47 | * price |
| | 48 | * duration_months |
| | 49 | * access_type |
| | 50 | |
| | 51 | * **Certificate** |
| | 52 | * certificate_id (primary key) |
| | 53 | * issue_date |
| | 54 | * certificate_code |
| | 55 | * status |
| | 56 | |
| | 57 | === Relationships === |
| | 58 | |
| | 59 | * A **User** can make multiple **Payments** (1:N) |
| | 60 | * A **User** can enroll in multiple **Courses** through **Enrollment** (1:N) |
| | 61 | * An **Instructor** can upload and manage multiple **Courses** (1:N) |
| | 62 | * A **Course** can have multiple **Enrollments** (1:N) |
| | 63 | * A **SubscriptionPlan** can be used by multiple **Users** (1:N) |
| | 64 | * A **Certificate** is issued for a completed **Enrollment** (1:1) |