fix student registration

This commit is contained in:
root
2026-03-26 16:04:03 -04:00
parent c582bfc242
commit 1977a513df
9 changed files with 220 additions and 27 deletions
+51 -4
View File
@@ -109,6 +109,12 @@
"type": "integer",
"example": 42
},
"school_year": {
"type": "string"
},
"school_id": {
"type": "string"
},
"firstname": {
"type": "string",
"example": "Ahmed"
@@ -122,13 +128,53 @@
"format": "date",
"example": "2013-04-22"
},
"age": {
"type": "integer"
},
"gender": {
"type": "string",
"enum": ["male", "female"]
},
"is_active": {
"type": "boolean"
},
"registration_grade": {
"type": "string"
},
"is_new": {
"type": "boolean"
},
"photo_consent": {
"type": "boolean"
},
"parent_id": {
"type": "integer"
},
"registration_date": {
"type": "string",
"format": "date"
},
"tuition_paid": {
"type": "boolean"
},
"semester": {
"type": "string"
},
"year_of_registration": {
"type": "integer"
},
"name": {
"type": "string"
},
"cellphone": {
"type": "string"
},
"email": {
"type": "string"
},
"relation": {
"type": "string"
},
"current_class": {
"type": "object",
"nullable": true
@@ -1747,9 +1793,12 @@
"parent_id": {"type": "integer"},
"registration_date": {"type": "string", "format": "date"},
"tuition_paid": {"type": "boolean"},
"rfid_tag": {"type": "string"},
"semester": {"type": "string"},
"year_of_registration": {"type": "integer"}
"year_of_registration": {"type": "integer"},
"name": {"type": "string"},
"cellphone": {"type": "string"},
"email": {"type": "string"},
"relation": {"type": "string"}
}
}
}
@@ -4221,7 +4270,6 @@
"parent_id": {"type": "integer"},
"registration_date": {"type": "string", "format": "date"},
"tuition_paid": {"type": "boolean"},
"rfid_tag": {"type": "string"},
"semester": {"type": "string"},
"year_of_registration": {"type": "integer"}
}
@@ -4829,7 +4877,6 @@
"parent_id": {"type": "integer"},
"registration_date": {"type": "string", "format": "date"},
"tuition_paid": {"type": "boolean"},
"rfid_tag": {"type": "string"},
"semester": {"type": "string"},
"year_of_registration": {"type": "integer"}
}