Important: The student favourite model has dependencies on both the
customer/student and shop models. The
student_id field must reference an
existing customer/student and the shop_id field must reference an existing
shop. It’s recommended to upload customer/student and shop data before
uploading student favourite mappings.Schema
Field Descriptions
Required Fields
Optional Fields
Example
Best Practices
- UUID Format: Use valid UUID v4 format for all ID fields
- Data Dependencies: Ensure student_id references an existing customer/student and shop_id references an existing shop
- Data Consistency: Ensure consistent data across all student favourite mapping records
- Soft Deletion: Use the is_deleted flag instead of permanently deleting records