new RegisteredSubject(employee_name, employee_code, minor_subject, remarks, stytype, credits, subject_code, subject_component_code, subject_desc, subject_id, audtsubject)
Class containing registered subject info like Lecturer name, credits, etc
Parameters:
| Name | Type | Description |
|---|---|---|
employee_name |
string | Name of the employee/lecturer |
employee_code |
string | Code of the employee |
minor_subject |
string | Minor subject information |
remarks |
string | Any remarks |
stytype |
string | Style type |
credits |
number | Number of credits |
subject_code |
string | Code of the subject |
subject_component_code |
string | Component code of the subject |
subject_desc |
string | Description of the subject |
subject_id |
string | ID of the subject |
audtsubject |
string | Audit subject information |
- Source:
Methods
(static) from_json(resp) → {RegisteredSubject}
Static method to create a RegisteredSubject from a JSON object
Parameters:
| Name | Type | Description |
|---|---|---|
resp |
object | JSON object representing RegisteredSubject |
- Source:
Returns:
A new RegisteredSubject instance
- Type
- RegisteredSubject