There are two tables in our database: class, class_section
class table: class_id, school_id, class_number, class_index
required columns: class_number, class_section
optional columns: class_index
default columns: class_id, school_id, class_index
Based on this table details we have to create four APIs one for add class, second for delete class, third for update class number and fourth for drag class.
class_section table: section_id, class_id, class_section, class_section_index
required columns: class_id, class_section
optional columns: class_section_index
default columns: class_section_index
Based on this table details we have to create four APIs one for add section, second for delete s,ection third for rename section and fourth for drag section.
Restriction:
- Every class need to have atleast one section (Default section A will get created with the class creation)
- To delete any section first we have to remove all the students from that section
- To delete any class first we have to remove all the students from that class's sections
@sonu-ind-dev
There are two tables in our database: class, class_section
class table: class_id, school_id, class_number, class_index
required columns: class_number, class_section
optional columns: class_index
default columns: class_id, school_id, class_index
Based on this table details we have to create four APIs one for add class, second for delete class, third for update class number and fourth for drag class.
class_section table: section_id, class_id, class_section, class_section_index
required columns: class_id, class_section
optional columns: class_section_index
default columns: class_section_index
Based on this table details we have to create four APIs one for add section, second for delete s,ection third for rename section and fourth for drag section.
Restriction:
@sonu-ind-dev