代码拉取完成,页面将自动刷新
/*
* This is the application and entity model for the 21-Points (https://github.com/mraible/21-points) application from Matt Raible
*/
application {
config {
applicationType monolith,
baseName HealthPoints
packageName com.okta.developer,
authenticationType oauth2,
prodDatabaseType postgresql,
buildTool gradle,
searchEngine elasticsearch,
testFrameworks [protractor],
clientFramework react,
useSass true,
enableTranslation true,
nativeLanguage en,
languages [en, es]
}
entities Points, BloodPressure, Weight, Preferences
}
// JDL definition for application 'TwentyOnePoints' generated with command 'jhipster export-jdl'
entity BloodPressure {
timestamp ZonedDateTime required
systolic Integer required
diastolic Integer required
}
entity Weight {
timestamp ZonedDateTime required
weight Double required
}
entity Points {
date LocalDate required
exercise Integer
meals Integer
alcohol Integer
notes String maxlength(140)
}
entity Preferences {
weeklyGoal Integer required min(10) max(21)
weightUnits Units required
}
enum Units {
KG,
LB
}
relationship OneToOne {
Preferences{user(login)} to User
}
relationship ManyToOne {
BloodPressure{user(login)} to User
Weight{user(login)} to User
Points{user(login)} to User
}
paginate BloodPressure, Weight with infinite-scroll
paginate Points with pagination
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。