# jdl **Repository Path**: keetone/jdl ## Basic Information - **Project Name**: jdl - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-01-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jdl ``` entity Region { regionName String } entity Country { countryName String } // an ignored comment /** not an ignored comment */ entity Location { streetAddress String, postalCode String, city String, stateProvince String } entity Department { departmentName String required } /** * Task entity. * @author The JHipster team. */ entity Task { title String, description String } /** * The Employee entity. */ entity Employee { /** * The firstname attribute. */ firstName String, lastName String, email String, phoneNumber String, hireDate Instant, salary Long, commissionPct Long } entity Job { jobTitle String, minSalary Long, maxSalary Long } entity JobHistory { startDate Instant, endDate Instant, language Language } enum Language { FRENCH, ENGLISH, SPANISH } relationship OneToOne { Country{region} to Region } relationship OneToOne { Location{country} to Country } relationship OneToOne { Department{location} to Location } relationship ManyToMany { Job{task(title)} to Task{job} } // defining multiple OneToMany relationships with comments relationship OneToMany { Employee{job} to Job, /** * A relationship */ Department{employee} to /** * Another side of the same relationship */ Employee } relationship ManyToOne { Employee{manager} to Employee } // defining multiple oneToOne relationships relationship OneToOne { JobHistory{job} to Job, JobHistory{department} to Department, JobHistory{employee} to Employee } // Set pagination options paginate JobHistory, Employee with infinite-scroll paginate Job with pagination dto * with mapstruct // Set service options to all except few service all with serviceImpl except Employee, Job // Set an angular suffix angularSuffix * with mySuffix ``` ![输入图片说明](https://gitee.com/uploads/images/2018/0116/093208_3b8e8be2_745274.png "jhipster-jdl.png")