sito per le richieste......
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

107 righe
3.9 KiB

5 anni fa
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.1.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_1_0.dtd">
<service-builder package-path="it.tref.portos.calendar.appointments">
<author>3F Consulting</author>
<namespace>portos_calendar_appointments</namespace>
<entity name="Funzionario" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="funzionarioId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="nome" type="String" />
<column name="cognome" type="String" />
<column name="presidio" type="String" />
<column name="tipologia" type="String" />
<!-- Finder -->
<finder return-type="Funzionario" name="Funzionario">
<finder-column name="funzionarioId" />
</finder>
<finder return-type="Collection" name="Presidio">
<finder-column name="presidio" />
</finder>
</entity>
<entity name="Professionista" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="professionistaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="nome" type="String" />
<column name="cognome" type="String" />
</entity>
<entity name="Disponibilita" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="disponibilitaId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="funzionarioId" type="long" />
<column name="startDate" type="Date" />
<column name="endDate" type="Date" />
<column name="exactDate" type="String" />
<column name="presidio" type="long" />
<column name="disponibile" type="boolean" />
</entity>
<entity name="Prenotazione" local-service="true" remote-service="true" uuid="true">
<!-- PK fields -->
<column name="prenotazioneId" type="long" primary="true" />
<!-- Audit fields -->
<column name="companyId" type="long" />
<column name="userId" type="long" />
<column name="userName" type="String" />
<column name="createDate" type="Date" />
<column name="modifiedDate" type="Date" />
<column name="groupId" type="long" />
<!-- Other fields -->
<column name="funzionarioId" type="long" />
<column name="professionistaId" type="long" />
<column name="startDate" type="Date" />
<column name="endDate" type="Date" />
<column name="descLong" type="String" />
<!-- Product Backlog Item 32934 -->
<column name="telefono" type="String" />
<column name="email" type="String" />
<!-- Finder -->
<finder return-type="Prenotazione" name="prenotazione">
<finder-column name="prenotazioneId" />
</finder>
<finder return-type="Collection" name="Funzionario_StartDate">
<finder-column name="funzionarioId" />
<finder-column name="startDate" />
</finder>
<finder return-type="Collection" name="StartDate">
<finder-column name="startDate" />
</finder>
</entity>
<exceptions>
<exception>DuplicateFunzionario</exception>
<exception>DuplicateProfessionista</exception>
<exception>DuplicatePrenotazione</exception>
<exception>SlotNotAvailable</exception>
</exceptions>
</service-builder>