Files
smartbooking/.jhipster/UtenteApp.json
Simone Bierti e0816bab45 Add user reservation form feature
- Created new user-friendly reservation form component (prenotazione-form-user)
- Added getCurrentUser() method to UtenteAppService
- Added route /prenotazione/nuova for user reservation form
- Added Italian translations for new UI elements
- Form includes booking details and auto-populated user data
- Radio button toggle for private/company data display
- Form validation with required facility selection
- Created comprehensive documentation in frontend-changes.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-11 19:23:01 +01:00

95 lines
1.9 KiB
JSON

{
"annotations": {
"changelogDate": "20251210161127"
},
"applications": ["*"],
"dto": "mapstruct",
"fields": [
{
"fieldName": "username",
"fieldType": "String",
"fieldValidateRules": ["required", "unique"]
},
{
"fieldName": "email",
"fieldType": "String",
"fieldValidateRules": ["required"]
},
{
"fieldName": "telefono",
"fieldType": "String"
},
{
"fieldName": "ruolo",
"fieldType": "Ruolo",
"fieldValues": "USER,INCARICATO,ADMIN",
"fieldValidateRules": ["required"]
},
{
"fieldName": "attivo",
"fieldType": "Boolean",
"fieldValidateRules": ["required"]
},
{
"fieldName": "nome",
"fieldType": "String"
},
{
"fieldName": "cognome",
"fieldType": "String"
},
{
"fieldName": "luogoNascita",
"fieldType": "String"
},
{
"fieldName": "dataNascita",
"fieldType": "String"
},
{
"fieldName": "residente",
"fieldType": "String"
},
{
"fieldName": "societa",
"fieldType": "String"
},
{
"fieldName": "sede",
"fieldType": "String"
},
{
"fieldName": "codfiscale",
"fieldType": "String"
},
{
"fieldName": "telefonoSoc",
"fieldType": "String"
},
{
"fieldName": "emailSoc",
"fieldType": "String"
}
],
"name": "UtenteApp",
"relationships": [
{
"relationshipSide": "left",
"relationshipType": "one-to-one",
"otherEntityName": "user",
"relationshipName": "internalUser",
"otherEntityField": "login",
"relationshipWithBuiltInEntity": true
},
{
"relationshipSide": "right",
"relationshipType": "one-to-many",
"otherEntityName": "liberatoria",
"otherEntityRelationshipName": "utente",
"relationshipName": "liberatorie"
}
],
"searchEngine": "no",
"service": "serviceImpl"
}