crusade-tracker/jhipster-jdl.jdl

33 lines
721 B
Plaintext
Raw Normal View History

2021-01-18 20:27:50 +00:00
entity Army {
armyDescription TextBlob,
armyName String required,
armyFaction String,
armyPowerLevel Long,
armyPoints Long,
armyPointsOrPL Boolean
}
entity UnitArmy {
unitName String,
unitDescription TextBlob,
enemyUnitsDestroyed Long,
enemyRangedDestroyed Long,
enemyMeleeDestroyed Long,
agendaOneTally Long,
agendaTwoTally Long,
agendaThreeTally Long
}
entity UnitBase {
unitName String required,
unitPowerLevel Long,
unitPoints Long
}
relationship ManyToOne {
Army{owner(login) required} to User,
UnitArmy{unitBase(unitName) required} to UnitBase,
UnitArmy{army(armyName) required} to Army
}
dto Army, UnitBase with mapstruct
service Army, UnitArmy, UnitBase with serviceImpl