Skip to content

feat: v1 data model (enums, models, migrations, factories) - #12

Merged
Treggats merged 4 commits into
mainfrom
feature/data-model
Sep 3, 2026
Merged

feat: v1 data model (enums, models, migrations, factories)#12
Treggats merged 4 commits into
mainfrom
feature/data-model

Conversation

@Treggats

@Treggats Treggats commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Core v1 data model: enums, models/migrations, and factories.

  • ApplicationStatus, InteractionType enums
  • Company, Application, Contact, Interaction models + migrations
  • Factories for all four models, with relation helpers (forCompany(),
    forApplication(), forContact()) and status/type states

- ApplicationFactory: status states (lead/interviewing/offer/rejected/
  withdrawn) and forCompany(); status_change is deliberately not a factory
  state, that Interaction type is observer-only per the v1 spec
- CompanyFactory, ContactFactory (forCompany()), InteractionFactory
  (email/call/interview states, forApplication()/forContact())
- Annotate HasFactory with @use HasFactory<XFactory> on each model so
  Larastan's generic-trait check passes
@Treggats
Treggats merged commit f68c776 into main Sep 3, 2026
1 check passed
@Treggats
Treggats deleted the feature/data-model branch September 3, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant