jhipster / jdl-studio

JDL Studio is an online JHipster Domain Language visual editor
https://start.jhipster.tech/jdl-studio/
Apache License 2.0
405 stars 114 forks source link

In The sample.jh File, Those OneToOne relationships Shall Be ManyToOne Instead #32

Open vw98075 opened 7 years ago

vw98075 commented 7 years ago

The sample JDL doesn't interpret the original model (http://wiki.joanillo.org/images/4/48/Hr_main.txt) correctly. For example, the relationship between Country and Region isn't one-to-one although there isn't a cross reference table in the original DB schema. It shall be many-to-one instead. All of those one-to-one relationships shall be many-to-one instead.

BTW, I have made related changes, but I unable to create a branch and push my changes.