# info about the structrure of the models ## user fields; insert / update sql queries INSERT INTO user ( id, prefix, first_name, last_name, email, father_name, registration_number, sector_id, specialty, belonging_school, working_shcool, position_type_id, phone, password, expiration, otp, otp_expiration, activation, creation, active) VALUES (:id, :prefix, :first_name, :last_name, :email, :father_name, :registration_number, :sector_id, :specialty, :belonging_school, :working_shcool, :position_type_id, :phone, :password, :expiration, :otp, :otp_expiration, :activation, :creation, :active ) UPDATE user SET prefix = :prefix, first_name = :first_name, last_name = :last_name, email = :email, father_name = :father_name, registration_number = :registration_number, sector_id = :sector_id, specialty = :specialty, belonging_school = :belonging_school, working_shcool = :working_shcool, position_type_id = :position_type_id, phone = :phone, password = :password, expiration = :expiration, otp = :otp, otp_expiration = :otp_expiration, activation = :activation, creation = :creation, active = :active, ## record_types document forms -> json request = { user_id -> user: { ... } date: ... body: ... media: [ ... array of media-id(s) ] } penalty = { user_id -> user: { ... }, date: time: subject: of_student: place: president: members: [ list ] reason: apology: decision: } ## records id user_id type source_json ## record_media record_id media_id USER menu --- profile -> name, hello, last-login, do ... profile/information profile/requests (all) profile/request/id (one) Admin menu --- admin -> requests (all), MODAL: protocol admin/request/id -> request (one) admin/iinvite # callable/dynamic select options # APPlication \ controllers [ ] App [ ] Auth \ extends [ ] Cache_service [*] App_manager [*] App_user [ ] SendMail_service [ ] Form_builder \ models [ ] Access_model [ ] History_model