33 lines
721 B
Plaintext
33 lines
721 B
Plaintext
|
|
||
|
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
|