Domain Modeling
# Convert Business Rules to Java Domain Model
Use this prompt to transform raw requirements into clean domain objects.
---
## 🧠 Prompt
Convert the following business rules into a Java domain model with:
- Entities
- Value objects
- Enums where suitable
- Validation
- Factory/static creation methods
**Business Rules:**when to use it
Community prompt sourced from the open-source GitHub repo garlichck/chatgpt-prompt-for-software-engineer (MIT). A "Domain Modeling" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
garlichck/chatgpt-prompt-for-software-engineer · MIT