Skip to main content

JobApplicantResume

Kept as its own table (rather than columns on JobApplicant) so that listing/pipeline queries for applicants never drag resume bytes along — only this table's own lookups do.

Tablejob_applicant_resume
Tenant-scopedYes — extends TenantOwned
Columns6
Relationships1
Sourcebackend/src/main/java/com/motorph/payroll/model/JobApplicantResume.java

Columns​

FieldTypeColumnNullNotes
applicantIdIntegerapplicant_id—primary key
filenameStringfilenameYes—
contentTypeStringcontent_typeYes—
databyte[]dataYes—
extractedTextStringextracted_textYes—
uploadedAtLocalDateTimeuploaded_at——

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@OneToOneJobApplicantapplicant_id—

Neighbourhood​

Repository​

JobApplicantResumeRepository​

Declared over JobApplicantResume with id type Integer. Source: backend/src/main/java/com/motorph/payroll/repository/JobApplicantResumeRepository.java

MethodReturnsNotes
findByApplicantId(Integer applicantId)Optional<JobApplicantResume>derived
existsByApplicantId(Integer applicantId)booleanderived
deleteByApplicantId(Integer applicantId)voidderived
findApplicantIdsWithResume(@Param("ids") Collection<Integer> ids)Set<Integer>explicit @Query

Reached by​

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

ControllerBase pathEndpointsModule
JobApplicantController/api/job-applicants11Recruitment
PublicJobController/api/public3Recruitment

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/.