Generate ORM models from this database schema:
**Database Schema:**
```sql
{{DATABASE_SCHEMA}}
```
**ORM Framework:** {{ORM_FRAMEWORK}}
**Programming Language:** {{PROGRAMMING_LANGUAGE}}
**Additional Requirements:** {{ADDITIONAL_REQUIREMENTS}}
Please provide:
1. Complete ORM model definitions
2. Relationship mappings (one-to-one, one-to-many, many-to-many)
3. Validation rules
4. Custom methods for common operations
5. Migration files if applicable
6. Repository/DAO pattern implementation
7. Example CRUD operations using the models
8. Query builder examples for complex queriesOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{DATABASE_SCHEMA][{ORM_FRAMEWORK][{PROGRAMMING_LANGUAGE][{ADDITIONAL_REQUIREMENTS]