Created
June 7, 2018 04:18
-
-
Save vdelacou/a4bcc7c7bd5862caa54b26f6ebfcc4ac to your computer and use it in GitHub Desktop.
Simple ATS JHipster JDL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A job description | |
*/ | |
entity JobDescription { | |
/** The title for the job */ | |
title String required, | |
/** The experience needed */ | |
yearExperience Long required min(0), | |
/** When the job is available */ | |
openingDate Instant, | |
/** The city where the job is available */ | |
city String required, | |
/** The job description */ | |
description String required | |
} | |
/** | |
* A candidate for a job | |
*/ | |
entity Candidate { | |
/** The first name of the candidate */ | |
firstName String required, | |
/** The last name of the candidate */ | |
lastName String required, | |
/** The email of the candidate */ | |
email String required, | |
/** The candidate is recruited*/ | |
isRecruited Boolean, | |
/** The candidate is archived*/ | |
isArchived Boolean, | |
} | |
/** | |
* The steps for a candidate | |
*/ | |
entity RecruitmentStep { | |
/** The name of the step to hire someone */ | |
stepName String required, | |
/** The name of the step to hire someone */ | |
index Long required min(0) max(12) | |
} | |
relationship ManyToOne { | |
// Relation Between Candidate and JobDescription | |
/** A Candidate is link to only one job */ | |
Candidate{jobDescription(title) required} to | |
/** A Job Description have many candidates */ | |
JobDescription | |
// Relation Between Candidate and RecruitmentStep | |
/** A Candidate is link to only one recruitmentStep, | |
* it's the active step for this candidate | |
*/ | |
Candidate{recruitmentStep(stepName) required} to | |
/** A RecruitmentStep could be linked to many candidates */ | |
RecruitmentStep | |
} | |
// Set pagination options | |
paginate all with pagination | |
// Set service options | |
service all with serviceClass | |
// Set filter options | |
filter all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment