generazione applicazione e entita

This commit is contained in:
2025-12-10 17:19:16 +01:00
parent e4b8486f4b
commit 9ad99bd05f
363 changed files with 36699 additions and 44 deletions

View File

@@ -1,35 +1,3 @@
application {
config {
applicationType monolith
authenticationType session
baseName smartbooking
buildTool gradle
cacheProvider ehcache
clientFramework vue
clientTheme yeti
clientThemeVariant primary
creationTimestamp 1765013775744
databaseType sql
devDatabaseType postgresql
enableGradleEnterprise false
enableHibernateCache true
enableTranslation true
jhipsterVersion "8.11.0"
languages [it]
microfrontends []
nativeLanguage it
packageName it.softwarepa.comune.artegna
prodDatabaseType postgresql
reactive false
rememberMeKey "810f1205976fd73602beb36796a53c78e3c4974c4fe22f343acbab764cdc74e50f3aeb807a64e1aa922f6f557ada00a8c89f"
testFrameworks [cucumber, cypress]
withAdminUi true
}
entities AuditLog, Conferma, Disponibilita, Notifica, Prenotazione, Struttura, UtenteApp, Messaggio
}
entity AuditLog {
entitaTipo TipoEntita
entitaId Long
@@ -53,7 +21,7 @@ entity Disponibilita {
entity Notifica {
tipoCanale TipoCanaleNotifica
tipoEvento TipoEventoNotifica
messaggio String
messaggio String
inviata Boolean
inviataAt Instant
errore String
@@ -70,8 +38,8 @@ entity Prenotazione {
}
entity Conferma {
motivoConferma String
tipoConferma TipoConferma
motivoConferma String
tipoConferma TipoConferma
}
entity Struttura {
@@ -91,8 +59,28 @@ entity UtenteApp {
telefono String
ruolo Ruolo required
attivo Boolean required
createdAt Instant
updatedAt Instant
nome String
cognome String
luogoNascita String
dataNascita String
residente String
societa String
sede String
codfiscale String
telefonoSoc String
emailSoc String
}
entity Liberatoria {
accettata Instant
}
entity ModelloLiberatoria {
nome String
testo String
documento Blob
validoDal Instant
validoAl Instant
}
entity Messaggio {
@@ -102,8 +90,8 @@ entity Messaggio {
}
enum TipoEntita {
PRENOTAZIONE,
CONFERMA
PRENOTAZIONE,
CONFERMA
}
enum TipoConferma {
@@ -155,7 +143,7 @@ enum Ruolo {
}
relationship OneToOne {
Prenotazione to Conferma
Prenotazione to Conferma
}
@@ -167,11 +155,14 @@ relationship ManyToOne {
Prenotazione{struttura(nome)} to Struttura
Conferma{confermataDa(username)} to UtenteApp
Messaggio{utente(username)} to UtenteApp
ModelloLiberatoria{struttura} to Struttura{moduliLiberatorie}
Liberatoria{utente(username)} to UtenteApp{liberatorie}
Liberatoria{modelloLiberatoria} to ModelloLiberatoria
}
dto AuditLog, Disponibilita, Notifica, Prenotazione, Conferma, Struttura, UtenteApp, Messaggio with mapstruct
dto AuditLog, Disponibilita, Notifica, Prenotazione, Conferma, Struttura, UtenteApp, Messaggio, Liberatoria, ModelloLiberatoria with mapstruct
paginate AuditLog, Notifica, Prenotazione, Struttura, Conferma with pagination
paginate Disponibilita with infinite-scroll
service AuditLog, Conferma, Disponibilita, Notifica, Prenotazione, Struttura, UtenteApp with serviceImpl
service AuditLog, Conferma, Disponibilita, Notifica, Prenotazione, Struttura, UtenteApp, Messaggio, Liberatoria, ModelloLiberatoria with serviceImpl
search AuditLog, Conferma, Disponibilita, Notifica, Prenotazione, Struttura, UtenteApp with no
filter AuditLog, Notifica, Prenotazione, Struttura, Conferma