Creating an app to track time off accrual. Users have days and days have types like "Vacation" or "Sick"
Models:
DayType
- Name
UserDay
- Date
- DayType (fk to DayType)
- Value (+ for accrual, - for day taken)
- Note
- Total
I'm trying to generate the following resultset expanding the daytypes across columns. Is this possible in the ORM, or do I have to build this in code?