Skip to main content

InterviewSchedule

The InterviewSchedule entity, mapped to the interview_schedule table.

Tableinterview_schedule
Tenant-scopedYes — extends TenantOwned
Columns6
Relationships2
Sourcebackend/src/main/java/com/motorph/payroll/model/InterviewSchedule.java

Columns​

FieldTypeColumnNullNotes
interviewIdIntegerinterview_id—primary key, generated
interviewRoundStringinterview_roundYes—
scheduledAtLocalDateTimescheduled_at——
locationStringlocationYes—
statusStringstatus——
notesStringnotesYes—

Plus tenant_id, inherited from TenantOwned. Hibernate stamps it on insert and adds where tenant_id = ? to every query, so it is never written or read by application code.

Relationships​

FieldKindTargetJoin columnRequired
applicant@ManyToOneJobApplicantapplicant_idYes
interviewer@ManyToOneEmployeeinterviewer_idYes

Referenced by​

EntityFieldKind
InterviewFeedbackinterview@ManyToOne

Neighbourhood​

Repository​

InterviewScheduleRepository​

Declared over InterviewSchedule with id type Integer, with JpaSpecificationExecutor for dynamic filtering. Source: backend/src/main/java/com/motorph/payroll/repository/InterviewScheduleRepository.java

MethodReturnsNotes
findWithDetailsByInterviewId(Integer interviewId)Optional<InterviewSchedule>derived
countByScheduledAtBetweenAndStatus(LocalDateTime from, LocalDateTime to, String status)longderived
findAllByScheduledAtBetween(LocalDateTime from, LocalDateTime to)List<InterviewSchedule>derived

Reached by​

These controllers hold — directly or through a service they depend on — a repository over InterviewSchedule.

ControllerBase pathEndpointsModule
InterviewFeedbackController/api/interview-feedback2Recruitment
InterviewScheduleController/api/interview-schedules8Recruitment
ReportingController/api/reports16Platform Misc

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.