Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

GestioneManutenzioni.skipper 68KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. <?xml version="1.0"?>
  2. <skipper version="3.2.25.1702" mvc="Laravel" orm="Laravel" name="MyAzienda" uuid="3072e02c-7554-4faa-a6bb-1bdf47958cd4">
  3. <orm-attributes>
  4. <attribute name="migrations-path">database/migrations</attribute>
  5. </orm-attributes>
  6. <module name="\Application module" local-name="Application module" namespace="\App\Models" local-namespace="App\Models" export-format="Laravel" export-path="." uuid="09bf51bf-3812-47d1-ab60-2ea025d5ee72">
  7. <entity name="\App\Models\User" local-name="User" namespace="\App\Models" uuid="56185713-1439-4bd9-81df-6d5339d066ce">
  8. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="0a6f5cb1-6847-45b2-9241-8ab815e1c380"/>
  9. <field name="nome" type="string" uuid="7146ddab-7bf0-4c4a-9cb9-0a80eedba7fd"/>
  10. <field name="cognome" type="string" uuid="5d3e9adc-9d0e-4b7c-abef-2b50ec57333c"/>
  11. <field name="email" type="string" uuid="097ab2c7-9646-43ff-bc82-8cc0c277d909"/>
  12. <field name="telefono" type="string" uuid="2cb16ee6-fd81-4981-95be-d88191274a0d"/>
  13. <field name="password" type="string" uuid="ca5b3607-4149-4aa9-9fe9-ed3f9ea4b79b"/>
  14. <field name="azienda_id" type="bigInteger" unsigned="true" uuid="a71fea94-0e25-4722-a9f4-a764b739a498"/>
  15. <field name="email_verified_at" type="timestamp" uuid="e9cfc935-4b99-4bc8-be16-c582001b7cf4"/>
  16. <field name="remember_token" type="string" uuid="43a000b7-9f98-4fbd-a88d-c6ea908cb2cc"/>
  17. <field name="api_token" type="string" uuid="e1c61394-f57e-4941-aeb7-04fb368733cd"/>
  18. <field name="two_factor_secret" type="text" uuid="9f263de8-d827-4458-abac-08dc31740853"/>
  19. <field name="two_factor_recovery_codes" type="text" uuid="07ddc14d-0638-4998-9c0f-61e6b4c275ef"/>
  20. <field name="two_factor_confirmed_at" type="timestamp" uuid="7e1530aa-7374-4465-af8d-0aed05196cf6"/>
  21. <field name="is_gruppo" type="boolean" default="0" uuid="704eb3e5-b120-4303-b675-f3b7e051b24d"/>
  22. <field name="is_azienda" type="boolean" default="0" uuid="2e3ab400-2d56-48bd-b868-74e5494168cd"/>
  23. <field name="label_gruppo" type="string" uuid="b575155d-c744-4622-92bb-d28a36710267"/>
  24. <field name="componenti_gruppo" type="json" uuid="c26ef028-e3f3-4dfe-b949-397da060e974"/>
  25. <field name="ragione_sociale" type="string" uuid="ab3e9eee-6cc3-4b04-923d-c9eaeb067f3a"/>
  26. <field name="piva" type="string" uuid="24b53519-f7ed-4605-97ed-0fe8007aec6d"/>
  27. <field name="cod_fiscale" type="string" uuid="54f8f89b-8f1d-4350-b6be-f3d442bd097b"/>
  28. <field name="indirizzo" type="string" uuid="a904fce5-68f9-49c5-9c4b-32cedf9bb6bb"/>
  29. <field name="note" type="text" uuid="75bbae31-8850-4bd7-ad84-264a0a9ef52d"/>
  30. <field name="comune_id" type="bigInteger" unsigned="true" uuid="519bbe2d-e5b8-49c0-b964-08644a0c119f"/>
  31. <field name="created_at" type="timestamp" uuid="40919a29-47f6-4516-9c3d-917ed2c9afe6"/>
  32. <field name="updated_at" type="timestamp" uuid="ef88ffd6-4374-4238-99c9-9cc9596a093e"/>
  33. <orm-attributes>
  34. <attribute name="table">users</attribute>
  35. <attribute name="fillableAll">as-fillable-all</attribute>
  36. <attribute name="extends">\Illuminate\Foundation\Auth\User</attribute>
  37. </orm-attributes>
  38. </entity>
  39. <association from="\App\Models\User" to="\App\Models\Comune" caption="Comune Users" owner-alias="users" inverse-alias="comune" many-owner="true" many-inverse="false" uuid="8399970c-2d0b-403e-996b-e86248cb3bc5">
  40. <association-field from="comune_id" to="id" uuid="f66c0c1c-a961-4b58-b5b9-46c97265ead5"/>
  41. <orm-attributes>
  42. <attribute name="onDelete">set null</attribute>
  43. </orm-attributes>
  44. </association>
  45. <association from="\App\Models\User" to="\App\Models\User" caption="User Users" owner-alias="utentiAzienda" inverse-alias="azienda" many-owner="true" many-inverse="false" uuid="787d90ec-5676-4749-9b36-cea959c6793b">
  46. <association-field from="azienda_id" to="id" uuid="867d2980-d54c-4b5c-8ab6-c07f0783c368"/>
  47. <orm-attributes>
  48. <attribute name="onDelete">set null</attribute>
  49. </orm-attributes>
  50. </association>
  51. <entity name="\App\Models\Segnalazione" local-name="Segnalazione" namespace="\App\Models" uuid="b21d156e-828b-49fe-87a8-659eb8411896">
  52. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="d15505d1-a284-4cf1-94b0-70d0f5788243"/>
  53. <field name="user_id" description="chi ha fatto la segnalazione" type="bigInteger" unsigned="true" uuid="ecd5a597-63db-4120-8e3f-0c4b6fff198d"/>
  54. <field name="assegnata_a_id" description="a chi &#xE8; assegnata la segnalazione" type="bigInteger" unsigned="true" uuid="9157dc7c-305b-4227-8b05-3992650c5cfc"/>
  55. <field name="azienda_id" type="bigInteger" unsigned="true" uuid="76454f4a-a34f-43c3-9ae6-e6cbaedcf788"/>
  56. <field name="contratto_servizio_id" type="bigInteger" unsigned="true" uuid="b214ffbc-1d19-4585-8ba6-40f9481d9267"/>
  57. <field name="contratto_servizio_todo_id" type="bigInteger" unsigned="true" uuid="e483a339-f493-4b94-8f93-a2b661231ee5"/>
  58. <field name="ordine_lavoro_id" type="bigInteger" unsigned="true" uuid="3cef7379-2ba5-4b50-9da8-6afcf2c66341"/>
  59. <field name="acquisto_servizio_id" type="bigInteger" unsigned="true" uuid="22a1f5dd-b956-4ee7-bf73-062e66d3a5b0"/>
  60. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="7158b094-0bec-4edb-914e-2457f0424463"/>
  61. <field name="numero" type="integer" uuid="992bbdcc-c8a3-49a9-a95d-c28287148b38"/>
  62. <field name="titolo" type="string" uuid="93e92649-f52f-4db5-baad-a4abf8e20f62"/>
  63. <field name="stato" type="string" uuid="86938116-9b87-4051-bc45-3009fe9cbf83"/>
  64. <field name="priorita" type="string" uuid="47ea6f64-0734-42ae-9374-bfe268ac2fca"/>
  65. <field name="tipo" type="string" uuid="16f71b45-d45e-490a-9985-f19bed3c4d1c"/>
  66. <field name="token" type="string" uuid="e5bd4274-35d3-4bff-9643-31c0b84ef421"/>
  67. <field name="meta" type="json" uuid="feb6065e-dfd6-47d6-a5bb-1d54c5d99050"/>
  68. <field name="origine" type="string" uuid="330da781-7ebb-4a50-b6fd-b626f954735f"/>
  69. <field name="tempo_stimato" type="decimal" size="10" uuid="91880b18-1a17-4b31-85e5-61ae81e6aba2">
  70. <orm-attributes>
  71. <attribute name="decimal">2</attribute>
  72. </orm-attributes>
  73. </field>
  74. <field name="created_at" type="timestamp" uuid="d0040cc6-db11-4587-beed-bf4313681d57"/>
  75. <field name="updated_at" type="timestamp" uuid="3a3d74a0-b87a-40b2-aa1d-691d9ff66856"/>
  76. <orm-attributes>
  77. <attribute name="fillableAll">as-fillable-all</attribute>
  78. <attribute name="table">segnalazione</attribute>
  79. </orm-attributes>
  80. </entity>
  81. <association from="\App\Models\Segnalazione" to="\App\Models\User" caption="User Segnalaziones" owner-alias="segnalazioniAssegnate" inverse-alias="assegnataA" many-owner="true" many-inverse="false" uuid="2fa65d03-8ddb-413f-8064-798860928786">
  82. <association-field from="assegnata_a_id" to="id" uuid="d432694a-89df-447e-801d-24b276e2ac8c"/>
  83. <orm-attributes>
  84. <attribute name="onDelete">set null</attribute>
  85. </orm-attributes>
  86. </association>
  87. <association from="\App\Models\Segnalazione" to="\App\Models\User" caption="User Segnalaziones" owner-alias="segnalazioni" inverse-alias="user" many-owner="true" many-inverse="false" uuid="6faa9818-b5b6-4eab-96b6-6eaf56d1de79">
  88. <association-field from="user_id" to="id" uuid="08699248-9392-4b75-b16b-ade34b487929"/>
  89. <orm-attributes>
  90. <attribute name="onDelete">set null</attribute>
  91. </orm-attributes>
  92. </association>
  93. <association from="\App\Models\Segnalazione" to="\App\Models\User" caption="User Segnalaziones" owner-alias="segnalazioniAzienda" inverse-alias="azienda" many-owner="true" many-inverse="false" uuid="d586b98c-7daa-49d4-ada1-8c2c9223fb66">
  94. <association-field from="azienda_id" to="id" uuid="ff304b0f-2ee3-4290-8f70-d512cc0cedbe"/>
  95. <orm-attributes>
  96. <attribute name="onDelete">set null</attribute>
  97. </orm-attributes>
  98. </association>
  99. <association from="\App\Models\Segnalazione" to="\App\Models\ContrattoServizio" caption="ContrattoServizio Segnalaziones" owner-alias="segnalazioni" inverse-alias="contrattoServizio" many-owner="true" many-inverse="false" uuid="5f4ca39e-40ba-4157-bf4c-603b7469b044">
  100. <association-field from="contratto_servizio_id" to="id" uuid="f88439b2-fde3-4839-896b-4fc572f767e0"/>
  101. <orm-attributes>
  102. <attribute name="onDelete">set null</attribute>
  103. </orm-attributes>
  104. </association>
  105. <association from="\App\Models\Segnalazione" to="\App\Models\OrdineLavoro" caption="OrdineLavoro Segnalaziones" owner-alias="segnalazioni" inverse-alias="ordineLavoro" many-owner="true" many-inverse="false" uuid="86aded2a-2e4e-4fc2-8702-5191cd073056">
  106. <association-field from="ordine_lavoro_id" to="id" uuid="b9b6e825-5ce8-4473-be84-81c0df564f89"/>
  107. <orm-attributes>
  108. <attribute name="onDelete">set null</attribute>
  109. </orm-attributes>
  110. </association>
  111. <association from="\App\Models\Segnalazione" to="\App\Models\ContrattoServizioTodo" caption="ContrattoServizioTodo Segnalaziones" owner-alias="segnalazioni" inverse-alias="contrattoServizioTodo" many-owner="true" many-inverse="false" uuid="faaed052-f628-4ae7-8f52-b3614fad893e">
  112. <association-field from="contratto_servizio_todo_id" to="id" uuid="14be7b69-4db0-40ea-bb4b-c32bec31da91"/>
  113. <orm-attributes>
  114. <attribute name="onDelete">set null</attribute>
  115. </orm-attributes>
  116. </association>
  117. <association from="\App\Models\Segnalazione" to="\App\Models\AcquistoServizio" caption="AcquistoServizio Segnalaziones" owner-alias="segnalazioni" inverse-alias="acquistoServizio" many-owner="true" many-inverse="false" uuid="41971b51-8523-4c42-83a6-4ea29a618e4c">
  118. <association-field from="acquisto_servizio_id" to="id" uuid="e298ce6f-7e2c-4b7e-80e3-41c8cd31be5e"/>
  119. <orm-attributes>
  120. <attribute name="onDelete">set null</attribute>
  121. </orm-attributes>
  122. </association>
  123. <association from="\App\Models\Segnalazione" to="\App\Models\Prodotto" caption="Prodotto Segnalaziones" owner-alias="segnalazioni" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="3d14fd5b-7f78-49e4-831f-a98aa484a94f">
  124. <association-field from="prodotto_id" to="id" uuid="dfe269b5-36b7-4a6a-ad73-5195877c88f3"/>
  125. <orm-attributes>
  126. <attribute name="onDelete">set null</attribute>
  127. </orm-attributes>
  128. </association>
  129. <entity name="\App\Models\ConfiguraSegnalazione" local-name="ConfiguraSegnalazione" namespace="\App\Models" uuid="8819ca52-ae65-43e3-8aa4-a9d99d228284">
  130. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="b82082e0-0b90-471d-9698-545b58e84b5a"/>
  131. <field name="label" type="string" uuid="c0b1bbac-3561-4290-8d26-0f80e005ddf9"/>
  132. <field name="descrizione" type="text" uuid="27bba23a-4ee0-47bf-bb70-b7029dbacd8a"/>
  133. <field name="gruppo" type="string" uuid="59cd917a-97b3-4227-badc-ee7604c971f7"/>
  134. <field name="key" type="string" uuid="436d6a3f-fc22-4fe5-a91f-e2c393ed7780"/>
  135. <field name="value" type="string" uuid="6122590b-dc17-4bf2-8497-c5b17bacaacd"/>
  136. <field name="type" type="string" uuid="b7ab3e5d-4482-483b-8cea-a26de1feda03"/>
  137. <field name="order" type="integer" uuid="e4996d7f-4473-478d-8fea-5936deb136bd"/>
  138. <field name="icona" type="string" uuid="b9635a0a-85b2-467a-b2dc-89cd63ee0c4d"/>
  139. <field name="colore" type="string" uuid="c6811c53-5d36-454d-b43f-5df0157e39c2"/>
  140. <field name="opzioni" type="json" uuid="1038885e-eca5-4f75-a412-81059913bfe5"/>
  141. <field name="created_at" type="timestamp" uuid="00cd7459-b3a0-482c-83a4-7568de2c7124"/>
  142. <field name="updated_at" type="timestamp" uuid="93b12b98-06a8-4563-9e4d-553b532d39db"/>
  143. <orm-attributes>
  144. <attribute name="fillableAll">as-fillable-all</attribute>
  145. <attribute name="table">configura_segnalazione</attribute>
  146. </orm-attributes>
  147. </entity>
  148. <entity name="\App\Models\Annotazione" local-name="Annotazione" namespace="\App\Models" uuid="43c9733c-5074-4c8d-9cb1-33867510c2fc">
  149. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="0437cbe3-b2c4-4fa6-8c9c-7df74e17a5e2"/>
  150. <field name="segnalazione_id" type="bigInteger" unsigned="true" uuid="a55daaa7-8ba7-4bb0-83dd-dcfdb8036968"/>
  151. <field name="user_id" type="bigInteger" unsigned="true" uuid="734b6cb6-58f7-4a2b-b27d-ab8dc46cf714"/>
  152. <field name="text" type="text" uuid="f748b6d3-a6af-40b0-a522-4447364a2948"/>
  153. <field name="tempo_minuti" type="integer" default="0" uuid="b3f34db1-e2e5-4426-a960-51eb2d8ca0b1"/>
  154. <field name="tempo_data" type="dateTime" uuid="f305a718-29d3-4bd5-8da9-619db3671251">
  155. <orm-attributes>
  156. <attribute name="cast">datetime</attribute>
  157. <attribute name="castFormat">d/m/Y H:i</attribute>
  158. </orm-attributes>
  159. </field>
  160. <field name="costo" type="decimal" size="10" uuid="330f67c6-9da7-4130-8907-9c1339a62723">
  161. <orm-attributes>
  162. <attribute name="decimal">2</attribute>
  163. </orm-attributes>
  164. </field>
  165. <field name="costo_descrizione" type="text" uuid="2d89a9fb-9229-412e-b6df-9b35a19f14a5"/>
  166. <field name="riservata" type="boolean" default="1" uuid="c48733ff-ec02-4aa0-be7c-25be727c3c1e"/>
  167. <field name="riferimento" type="string" uuid="dca8d620-9b45-4a1f-96e4-0d76392ac410"/>
  168. <field name="email" type="string" uuid="e2ca0f54-426d-4977-b729-fd007dee6f64"/>
  169. <field name="telefono" type="string" uuid="7b367191-cdfd-465f-8efe-ba0922fa32ff"/>
  170. <field name="created_at" type="timestamp" uuid="d0ae0044-ec8e-4aee-8cb5-84d5a663c57a"/>
  171. <field name="updated_at" type="timestamp" uuid="80c6b3cc-d201-4972-8b42-e25cbee8b615"/>
  172. <orm-attributes>
  173. <attribute name="fillableAll">as-fillable-all</attribute>
  174. <attribute name="table">annotazione</attribute>
  175. </orm-attributes>
  176. </entity>
  177. <association from="\App\Models\Annotazione" to="\App\Models\Segnalazione" caption="Segnalazione Annotaziones" owner-alias="annotazioni" inverse-alias="segnalazione" many-owner="true" many-inverse="false" uuid="9d4fa7d0-23be-4bb2-99bd-67797c3244c0">
  178. <association-field from="segnalazione_id" to="id" uuid="76a290ad-9338-4ae7-a168-dd924d4c0b9f"/>
  179. <orm-attributes>
  180. <attribute name="onDelete">cascade</attribute>
  181. </orm-attributes>
  182. </association>
  183. <association from="\App\Models\Annotazione" to="\App\Models\User" caption="User Annotaziones" owner-alias="annotazioni" inverse-alias="user" many-owner="true" many-inverse="false" uuid="f5d31adf-5971-42f7-90bf-41571fe64218">
  184. <association-field from="user_id" to="id" uuid="1fb9c039-f291-4e4e-ac2f-c31f14db295b"/>
  185. <orm-attributes>
  186. <attribute name="onDelete">set null</attribute>
  187. </orm-attributes>
  188. </association>
  189. <entity name="\App\Models\AllegatoAnnotazione" local-name="AllegatoAnnotazione" namespace="\App\Models" uuid="be8b5d1d-91da-4d7b-a50e-415ef90e5669">
  190. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="30f3fa1d-7834-42da-bbfc-3a60ddad4034"/>
  191. <field name="annotazione_id" type="bigInteger" unsigned="true" uuid="d48cb9c0-3907-4472-88a5-44774d686d37"/>
  192. <field name="nome" type="string" uuid="96220dc4-79f3-4e79-8024-cd4a976f443a"/>
  193. <field name="descrizione" type="string" uuid="97adca03-8802-4042-8f00-ff79b3910b0d"/>
  194. <field name="path_file" type="string" uuid="14d15c1e-3bfe-45b8-8d74-5ddd222ff3b5"/>
  195. <field name="created_at" type="timestamp" uuid="aa099fda-2af1-4c9e-8e79-3020bff7acde"/>
  196. <field name="updated_at" type="timestamp" uuid="65bce51b-82df-4a22-a870-38aa7dc6e304"/>
  197. <orm-attributes>
  198. <attribute name="fillableAll">as-fillable-all</attribute>
  199. <attribute name="table">allegato_annotazione</attribute>
  200. </orm-attributes>
  201. </entity>
  202. <association from="\App\Models\AllegatoAnnotazione" to="\App\Models\Annotazione" caption="Annotazione AllegatoAnnotaziones" owner-alias="allegatiAnnotazione" inverse-alias="annotazione" many-owner="true" many-inverse="false" uuid="719929c1-e0fe-4feb-950a-ba417c35a60c">
  203. <association-field from="annotazione_id" to="id" uuid="c74b78f8-307e-4473-a96d-263d5f8908d2"/>
  204. <orm-attributes>
  205. <attribute name="onDelete">cascade</attribute>
  206. </orm-attributes>
  207. </association>
  208. <entity name="\App\Models\Provincia" local-name="Provincia" namespace="\App\Models" uuid="f1331b94-8ccf-4328-bc32-bffdc732572e">
  209. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="e489d50b-7a4e-4869-b62a-6e552e4a1140"/>
  210. <field name="nazione_id" type="bigInteger" unsigned="true" uuid="a51b37ab-f251-4222-b5cd-09de8f6032ea"/>
  211. <field name="nome" type="string" uuid="673adc64-b483-4df0-b282-74322004a246"/>
  212. <field name="sigla" type="string" uuid="640d52fb-d124-4ee8-a184-52f855e4153b"/>
  213. <field name="created_at" type="timestamp" uuid="7f7a24b6-229f-4acf-aef3-0ec512768d24"/>
  214. <field name="updated_at" type="timestamp" uuid="62d0de6c-f896-491b-99db-1840ede2d1fa"/>
  215. <orm-attributes>
  216. <attribute name="table">provincia</attribute>
  217. <attribute name="fillableAll">as-fillable-all</attribute>
  218. </orm-attributes>
  219. </entity>
  220. <association from="\App\Models\Provincia" to="\App\Models\Nazione" caption="Nazione Provincias" owner-alias="provincie" inverse-alias="nazione" many-owner="true" many-inverse="false" uuid="345b5351-9f8a-4d02-9192-1bb27645761d">
  221. <association-field from="nazione_id" to="id" uuid="8f51c513-0361-4147-b7ac-26b56c42011d"/>
  222. <orm-attributes>
  223. <attribute name="onDelete">set null</attribute>
  224. </orm-attributes>
  225. </association>
  226. <entity name="\App\Models\Nazione" local-name="Nazione" namespace="\App\Models" uuid="6128d2f6-88d0-472b-bc71-0a9f49370847">
  227. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="67af633f-42c4-416d-ab1f-6b1c8a36dd82"/>
  228. <field name="nome" type="string" uuid="c98ab5d4-058e-46c3-ae49-5cf78478c8e0"/>
  229. <field name="sigla" type="string" uuid="7ed5c802-64fb-4bba-aca9-0de4a1d1b099"/>
  230. <field name="created_at" type="timestamp" uuid="b7cb1d70-b9a6-441a-aacd-7cd963cbc371"/>
  231. <field name="updated_at" type="timestamp" uuid="b40e30e1-a742-4297-932c-e28291e0a8e4"/>
  232. <orm-attributes>
  233. <attribute name="fillableAll">as-fillable-all</attribute>
  234. <attribute name="table">nazione</attribute>
  235. </orm-attributes>
  236. </entity>
  237. <entity name="\App\Models\Comune" local-name="Comune" namespace="\App\Models" uuid="2ef4e619-ebea-457a-8613-05b3dfb6c7fa">
  238. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="656af606-c65b-4b92-bac2-4e8a23d286e4"/>
  239. <field name="provincia_id" type="bigInteger" unsigned="true" uuid="e52e1b52-9dd3-4f50-ade3-a01755961201"/>
  240. <field name="nazione_id" type="bigInteger" unsigned="true" uuid="366b0dc8-c30b-4649-a1a2-3819e803595b"/>
  241. <field name="nome" type="string" uuid="02c5a258-0c72-47fc-8a1f-0b0af6c37e38"/>
  242. <field name="codice_catastale" type="string" uuid="efc61454-f98b-49aa-98f2-3e6014129b09"/>
  243. <field name="created_at" type="timestamp" uuid="8f5ae8e3-acaf-40ea-8eba-3139d76454a7"/>
  244. <field name="updated_at" type="timestamp" uuid="e603d21d-ddb5-46bd-929f-94a78dc0c5f5"/>
  245. <orm-attributes>
  246. <attribute name="table">comune</attribute>
  247. <attribute name="fillableAll">as-fillable-all</attribute>
  248. </orm-attributes>
  249. </entity>
  250. <association from="\App\Models\Comune" to="\App\Models\Provincia" caption="Provincia Comunes" owner-alias="comuni" inverse-alias="provincia" many-owner="true" many-inverse="false" uuid="4399e41c-477e-44d7-91db-b1cd4614f294">
  251. <association-field from="provincia_id" to="id" uuid="bb143e14-84bd-4e4a-bc86-6045f340856b"/>
  252. </association>
  253. <association from="\App\Models\Comune" to="\App\Models\Nazione" caption="Nazione Comunes" owner-alias="comuni" inverse-alias="nazione" many-owner="true" many-inverse="false" uuid="299d534d-b5ef-411c-b66b-f4adaaa3b4f1">
  254. <association-field from="nazione_id" to="id" uuid="3bf703ca-9546-4b79-85c0-8febb961d821"/>
  255. <orm-attributes>
  256. <attribute name="onDelete">set null</attribute>
  257. </orm-attributes>
  258. </association>
  259. <entity name="\App\Models\Config" local-name="Config" namespace="\App\Models" uuid="dd24c9ce-a45f-4d90-b374-ede2efe2e25b">
  260. <field name="key" type="string" required="true" unique="true" primary="true" uuid="badce0d4-64dd-43b2-be60-820ff13951fa"/>
  261. <field name="group" type="string" uuid="8ab75bd9-b755-4637-a230-9e2d5de6ac55"/>
  262. <field name="display_name" type="string" uuid="4210e393-7c3b-4982-8bee-30238073d5bc"/>
  263. <field name="value" type="longText" uuid="e9019a5d-d4b6-4bf5-a014-7963da6341f8"/>
  264. <field name="order" type="integer" uuid="9e54a33a-8637-4273-8027-e0aecc53eeb6"/>
  265. <field name="type" type="string" uuid="e04ce407-d9d0-4c74-9a8d-721deeb63c3c"/>
  266. <field name="created_at" type="timestamp" uuid="fb7f6e10-5782-4506-9258-4b6185860d71"/>
  267. <field name="updated_at" type="timestamp" uuid="370dbe57-9a63-4af4-ad81-b7c7647c273c"/>
  268. <orm-attributes>
  269. <attribute name="table">config</attribute>
  270. <attribute name="fillableAll">as-fillable-all</attribute>
  271. </orm-attributes>
  272. </entity>
  273. <entity name="\App\Models\ConfigNotifiche" local-name="ConfigNotifiche" namespace="\App\Models" uuid="23c0457c-f9c0-4210-9b12-1c8fa92cd788">
  274. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="ace37544-4c55-4ca9-8144-2da585fae3d6"/>
  275. <field name="event" type="string" uuid="7ad720b4-ab7e-43a5-b29a-4f434a3d886b"/>
  276. <field name="users" type="json" uuid="973a3230-ede5-4efd-9cfb-84e1c19876b9"/>
  277. <field name="is_attivo" type="boolean" default="1" uuid="72f71f81-6a3e-4ad9-8950-fe2a8542d25c"/>
  278. <field name="created_at" type="timestamp" uuid="2917737f-d22e-4bcb-b966-ebf834a6d20e"/>
  279. <field name="updated_at" type="timestamp" uuid="573df29f-6ff9-4ffc-897e-c72069ab4200"/>
  280. <orm-attributes>
  281. <attribute name="fillableAll">as-fillable-all</attribute>
  282. <attribute name="table">config_notifiche</attribute>
  283. </orm-attributes>
  284. </entity>
  285. <entity name="\App\Models\Prodotto" local-name="Prodotto" namespace="\App\Models" uuid="ec22a629-0e0a-4949-9ca3-43c6afee8ed5">
  286. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="cd5804ad-d5cc-4203-b38a-e5cfa3ebacac"/>
  287. <field name="codice" type="string" uuid="1bae7c61-7d9b-4795-97ee-fbff819cb95a"/>
  288. <field name="nome" type="string" uuid="5bd47d50-0113-40ed-b737-aa03f5f9401b"/>
  289. <field name="descrizione" type="text" uuid="8aae2f86-f5c8-4281-83fd-b46c70228e53"/>
  290. <field name="tipo" type="string" uuid="c7f8fdd4-0962-4932-bc9a-ca7b96b9b2d8"/>
  291. <field name="unita_misura" type="string" uuid="30a50b48-7975-46d3-82e4-05e90afa3a6e"/>
  292. <field name="prezzo" type="decimal" size="10" uuid="fcdc4a08-e2d3-4fb5-baf2-a90df6fbbb04">
  293. <orm-attributes>
  294. <attribute name="decimal">2</attribute>
  295. </orm-attributes>
  296. </field>
  297. <field name="periodo" type="string" uuid="81b8c54f-f859-4ff3-9ce0-ffbade00aa28"/>
  298. <field name="attivo" type="boolean" default="1" uuid="a40f0518-a638-4247-90a1-6aeac1701428"/>
  299. <field name="prenotabile_online" type="boolean" default="0" uuid="1df3d6c4-020e-48e8-b944-aee2698e66a6"/>
  300. <field name="meta" type="json" uuid="693b4419-0151-4d8b-89a9-ab7b2ce17f9d"/>
  301. <field name="created_at" type="timestamp" uuid="5126112e-189a-4b54-9ff5-cc44da7d60fe"/>
  302. <field name="updated_at" type="timestamp" uuid="e3870d5f-497d-41b4-8e78-09ba31fc34f8"/>
  303. <orm-attributes>
  304. <attribute name="fillableAll">as-fillable-all</attribute>
  305. <attribute name="table">prodotto</attribute>
  306. </orm-attributes>
  307. </entity>
  308. <entity name="\App\Models\ContrattoServizio" local-name="ContrattoServizio" namespace="\App\Models" uuid="58092d28-4a8e-4122-8204-5e009fc16ce6">
  309. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="2fc7e24f-923a-49ea-acb2-82d9a15535a2"/>
  310. <field name="user_id" type="bigInteger" unsigned="true" uuid="a430d266-f99f-4e48-be62-de6daddf22ab"/>
  311. <field name="contratto_template_id" type="bigInteger" unsigned="true" uuid="a97d83fa-0893-4bcc-a1d4-3fba9849789a"/>
  312. <field name="nome" type="string" uuid="94ee2223-9e46-43e2-989b-f75e6a6ce3ca"/>
  313. <field name="costo" type="decimal" size="10" uuid="140deaa1-bdab-4a67-90ac-6b69d96e344e">
  314. <orm-attributes>
  315. <attribute name="decimal">2</attribute>
  316. </orm-attributes>
  317. </field>
  318. <field name="periodo" type="string" uuid="9350c4b3-eab3-464a-9366-c0edf37869ce"/>
  319. <field name="data_inizio" type="date" uuid="36c9fce4-d27b-4b3a-a6b2-58dc0e4dd8a2"/>
  320. <field name="data_fine" type="date" uuid="d3ca8b85-9117-4b55-a455-66150bd31d3e"/>
  321. <field name="collegabile_segnalazioni" type="boolean" default="0" uuid="da43c1da-6158-40bc-bd15-62dddad492a7"/>
  322. <field name="quantita_residua" type="decimal" size="10" uuid="629ff801-824d-4ad7-bc7d-b72a2a3717cf">
  323. <orm-attributes>
  324. <attribute name="decimal">2</attribute>
  325. </orm-attributes>
  326. </field>
  327. <field name="note" type="text" uuid="579649ed-46f6-4371-9692-58e724bf5ca1"/>
  328. <field name="attivo" type="boolean" default="1" uuid="d811fff4-3f7a-488b-9be1-c623c26f43f8"/>
  329. <field name="created_at" type="timestamp" uuid="b89c48dd-a31b-4173-98c3-56f688449a23"/>
  330. <field name="updated_at" type="timestamp" uuid="8da87f11-9757-486e-beab-a0b2c1e5d0e9"/>
  331. <orm-attributes>
  332. <attribute name="fillableAll">as-fillable-all</attribute>
  333. <attribute name="table">contratto_servizio</attribute>
  334. </orm-attributes>
  335. </entity>
  336. <association from="\App\Models\ContrattoServizio" to="\App\Models\User" caption="User ContrattoServizios" owner-alias="contrattiServizio" inverse-alias="user" many-owner="true" many-inverse="false" uuid="3842d2b3-d137-47bc-9a10-14b7a860c153">
  337. <association-field from="user_id" to="id" uuid="cf09dd81-f27c-4eb3-a6b8-60c56ff9c629"/>
  338. <orm-attributes>
  339. <attribute name="onDelete">set null</attribute>
  340. </orm-attributes>
  341. </association>
  342. <association from="\App\Models\ContrattoServizio" to="\App\Models\ContrattoTemplate" caption="ContrattoTemplate ContrattoServizios" owner-alias="contrattiServizio" inverse-alias="contrattoTemplate" many-owner="true" many-inverse="false" uuid="4e4e7f6b-b25f-4a8a-8c8d-ab0e6ec93db7">
  343. <association-field from="contratto_template_id" to="id" uuid="f5ecdcde-183a-44d3-9a40-6f73b49289cc"/>
  344. <orm-attributes>
  345. <attribute name="onDelete">set null</attribute>
  346. </orm-attributes>
  347. </association>
  348. <entity name="\App\Models\Offerta" local-name="Offerta" namespace="\App\Models" uuid="f98de9f5-eb6f-467a-8f95-31b70d915946">
  349. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="c3304ea3-9e77-4559-992c-be946ba3e47f"/>
  350. <field name="user_id" type="bigInteger" unsigned="true" uuid="63813fc9-575d-4e6e-810d-b1047497c075"/>
  351. <field name="numero" type="integer" uuid="f023a417-2c0b-4fff-9c80-21d2425be5ce"/>
  352. <field name="titolo" type="string" uuid="5ba72745-a94a-4bf2-b90d-a61505e4a60a"/>
  353. <field name="stato" type="string" uuid="6fbf26fd-3f6a-423d-b93d-48010787778d"/>
  354. <field name="data" type="date" uuid="c1700acb-f03a-4d19-bcf4-aa54690109ec"/>
  355. <field name="data_validita" type="date" uuid="d5f192a6-8011-4b45-9e54-4b8e635facb5"/>
  356. <field name="totale" type="decimal" size="10" uuid="73cbf6f8-9a53-41f7-82f0-1e60cee174f3">
  357. <orm-attributes>
  358. <attribute name="decimal">2</attribute>
  359. </orm-attributes>
  360. </field>
  361. <field name="note" type="text" uuid="74caf115-8e82-457f-b4ff-041634717a84"/>
  362. <field name="path_file" type="string" uuid="a9a104ed-13f8-4798-a6ca-8935b0341cf1"/>
  363. <field name="meta" type="json" uuid="515560f9-be1b-4a21-921e-98fd5ad103b0"/>
  364. <field name="created_at" type="timestamp" uuid="bf09aff4-7fd0-4d51-af42-6aec217b7822"/>
  365. <field name="updated_at" type="timestamp" uuid="42e19ba6-0c54-4ffb-9c8e-1026f077b6af"/>
  366. <orm-attributes>
  367. <attribute name="fillableAll">as-fillable-all</attribute>
  368. <attribute name="table">offerta</attribute>
  369. </orm-attributes>
  370. </entity>
  371. <association from="\App\Models\Offerta" to="\App\Models\User" caption="User Offertas" owner-alias="offerte" inverse-alias="user" many-owner="true" many-inverse="false" uuid="bf45bb05-0679-49af-a7e9-9ae9422675ab">
  372. <association-field from="user_id" to="id" uuid="a54053de-2584-4984-8dbc-ba5a1137571c"/>
  373. <orm-attributes>
  374. <attribute name="onDelete">set null</attribute>
  375. </orm-attributes>
  376. </association>
  377. <entity name="\App\Models\OffertaRiga" local-name="OffertaRiga" namespace="\App\Models" uuid="77be2d5b-7aa8-4a5f-86da-102064c025e6">
  378. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="7fac024b-f96f-4012-9097-aea5a263d403"/>
  379. <field name="offerta_id" type="bigInteger" unsigned="true" uuid="ef151a19-0644-41c0-a0d3-e4c09ea3f25c"/>
  380. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="ff013f74-b127-47b5-91b4-0d0122ab7b40"/>
  381. <field name="descrizione" type="string" uuid="ed5cf628-97fd-47c8-bfd7-fbe70d9fbde1"/>
  382. <field name="quantita" type="decimal" size="10" uuid="a398d67d-eb98-4ed7-8ec2-7b3e6c97d889">
  383. <orm-attributes>
  384. <attribute name="decimal">2</attribute>
  385. </orm-attributes>
  386. </field>
  387. <field name="unita_misura" type="string" uuid="bcfa8042-a56b-4c5e-b727-b95f17d683cf"/>
  388. <field name="prezzo_unitario" type="decimal" size="10" uuid="372c3640-3751-4f24-b56e-bbcc3bf47852">
  389. <orm-attributes>
  390. <attribute name="decimal">2</attribute>
  391. </orm-attributes>
  392. </field>
  393. <field name="sconto" type="decimal" size="10" uuid="12147109-0d9f-4540-9507-b94a0c4a2975">
  394. <orm-attributes>
  395. <attribute name="decimal">2</attribute>
  396. </orm-attributes>
  397. </field>
  398. <field name="ordine" type="integer" default="0" uuid="ec952846-0eff-4955-a147-4033fcfd651e"/>
  399. <field name="note_private" type="text" uuid="d7c52787-0c81-49f9-a3fb-57a94e0a92aa"/>
  400. <field name="tempo_stimato" type="decimal" size="10" uuid="563af2f8-093c-4e5b-baf5-0f2249311f62">
  401. <orm-attributes>
  402. <attribute name="decimal">2</attribute>
  403. </orm-attributes>
  404. </field>
  405. <field name="created_at" type="timestamp" uuid="7dee4720-093d-49e4-aa16-2a9f192f273b"/>
  406. <field name="updated_at" type="timestamp" uuid="dd5d14dc-9b7a-43f6-bce2-8d7bbf3e4909"/>
  407. <orm-attributes>
  408. <attribute name="fillableAll">as-fillable-all</attribute>
  409. <attribute name="table">offerta_riga</attribute>
  410. </orm-attributes>
  411. </entity>
  412. <association from="\App\Models\OffertaRiga" to="\App\Models\Offerta" caption="Offerta OffertaRigas" owner-alias="offerteRiga" inverse-alias="offerta" many-owner="true" many-inverse="false" uuid="fdd9ee5a-9ae1-4736-8b9a-7e7fb84061b3">
  413. <association-field from="offerta_id" to="id" uuid="68a5419f-adef-4d6e-9b28-873c2fbc3d50"/>
  414. <orm-attributes>
  415. <attribute name="onDelete">set null</attribute>
  416. </orm-attributes>
  417. </association>
  418. <association from="\App\Models\OffertaRiga" to="\App\Models\Prodotto" caption="Prodotto OffertaRigas" owner-alias="offerteRiga" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="ad855143-f6b1-4d71-9d42-409e76e1efb7">
  419. <association-field from="prodotto_id" to="id" uuid="0e98c32c-512b-47c3-bc4f-b3ec66dff09f"/>
  420. <orm-attributes>
  421. <attribute name="onDelete">set null</attribute>
  422. </orm-attributes>
  423. </association>
  424. <entity name="\App\Models\OrdineLavoro" local-name="OrdineLavoro" namespace="\App\Models" uuid="97b95f3d-1074-4c5d-a526-c829f6bda8f0">
  425. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="2edeaae9-ee24-486a-8915-68701af23fa3"/>
  426. <field name="user_id" type="bigInteger" unsigned="true" uuid="4b1a6baf-3a48-4170-83a5-361faef16291"/>
  427. <field name="numero" type="integer" uuid="f3a008ed-3125-4530-b9d4-0296c190226c"/>
  428. <field name="titolo" type="string" uuid="0c4cb8f3-62b6-40b3-b9b5-ee228663551a"/>
  429. <field name="stato" type="string" uuid="6e27b2cc-35d1-4694-a86a-1713e30100fe"/>
  430. <field name="percentuale_avanzamento" type="integer" size="5" default="0" uuid="3c3ba72a-22ea-40b8-8395-c2e8a878d908">
  431. <orm-attributes>
  432. <attribute name="decimal">2</attribute>
  433. </orm-attributes>
  434. </field>
  435. <field name="data_apertura" type="date" uuid="19096a86-de29-4ab5-8689-d9edd6f93644"/>
  436. <field name="data_chiusura" type="date" uuid="ea74aee1-de7e-4feb-aeea-f59a2806f7c0"/>
  437. <field name="note" type="text" uuid="dbfdfb46-0d9e-4921-8ee4-b702cb3988f4"/>
  438. <field name="meta" type="json" uuid="bcce23aa-fa1e-4b27-8fb0-260ac25113ef"/>
  439. <field name="created_at" type="timestamp" uuid="310c81ea-88a2-489a-9223-21b77da5cd21"/>
  440. <field name="updated_at" type="timestamp" uuid="e690deea-d3d1-415c-a077-cfe5408341e6"/>
  441. <orm-attributes>
  442. <attribute name="fillableAll">as-fillable-all</attribute>
  443. <attribute name="table">ordine_lavoro</attribute>
  444. </orm-attributes>
  445. </entity>
  446. <association from="\App\Models\OrdineLavoro" to="\App\Models\User" caption="User OrdineLavoros" owner-alias="ordiniLavoro" inverse-alias="user" many-owner="true" many-inverse="false" uuid="a005da89-ed4b-4145-bca2-b27aaa8fce4b">
  447. <association-field from="user_id" to="id" uuid="ea6d7186-c6ee-401b-97b4-3274e72831c5"/>
  448. <orm-attributes>
  449. <attribute name="onDelete">set null</attribute>
  450. </orm-attributes>
  451. </association>
  452. <entity name="\App\Models\OrdineLavoroHasOfferta" local-name="OrdineLavoroHasOfferta" namespace="\App\Models" uuid="98806966-1270-452c-b1ab-cdae6e0016b6">
  453. <field name="offerta_id" type="bigInteger" required="true" primary="true" unsigned="true" uuid="cba87bc3-ab11-4af2-bbb8-6830ad23c01a"/>
  454. <field name="ordine_lavoro_id" type="bigInteger" required="true" primary="true" unsigned="true" uuid="d2f51969-071a-43c1-b95f-680166e51783"/>
  455. </entity>
  456. <many-to-many mn-entity="\App\Models\OrdineLavoroHasOfferta" caption="OrdineLavoro to Offerta" uuid="2f367518-de50-431b-a35b-845be0f0d6a1">
  457. <many-to-many-entity name="\App\Models\Offerta" owning-side="true" alias="offerte" uuid="23689857-4279-44e9-9a77-f58deb0455e3">
  458. <many-to-many-field from="offerta_id" to="id" uuid="565f4711-1df5-45ad-949d-8c08cc7d81ec"/>
  459. </many-to-many-entity>
  460. <many-to-many-entity name="\App\Models\OrdineLavoro" owning-side="false" alias="ordiniLavoro" uuid="f557820c-6dac-427e-ac7c-ffa88be2cce4">
  461. <many-to-many-field from="ordine_lavoro_id" to="id" uuid="bf9afc7e-7bb7-43dd-a081-3eac94839d30"/>
  462. </many-to-many-entity>
  463. </many-to-many>
  464. <entity name="\App\Models\ContrattoTemplate" local-name="ContrattoTemplate" namespace="\App\Models" uuid="735de4a0-df7b-48d1-a686-8b7b88229151">
  465. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="a67ea0e6-cf8e-4afb-a469-be87c6fb17cf"/>
  466. <field name="codice" type="string" uuid="dc5fcea9-5c72-4086-a311-b72bfcfec4b1"/>
  467. <field name="nome" type="string" uuid="d8272d1d-d423-4e6f-815d-3fb649c3fc1e"/>
  468. <field name="descrizione" type="text" uuid="a553726d-4bbf-47b7-8061-aca7e126b5eb"/>
  469. <field name="periodo" type="string" uuid="46172701-6a39-4a9f-a334-f93507b0a960"/>
  470. <field name="attivo" type="boolean" default="1" uuid="930b1171-9a12-44df-abaa-54c95cd9a5a5"/>
  471. <field name="costo_base" type="decimal" size="10" uuid="b6196b2c-5609-4d95-8765-9a3fef75f1f3">
  472. <orm-attributes>
  473. <attribute name="decimal">2</attribute>
  474. </orm-attributes>
  475. </field>
  476. <field name="meta" type="json" uuid="ad26f4dd-95bb-4278-a555-9672ee9bbb99"/>
  477. <field name="created_at" type="timestamp" uuid="8f53b06a-b7e5-4490-b02d-9a777ae9b33d"/>
  478. <field name="updated_at" type="timestamp" uuid="4a34b942-0d52-4c5b-9ab4-42cf1990284a"/>
  479. <orm-attributes>
  480. <attribute name="fillableAll">as-fillable-all</attribute>
  481. <attribute name="table">contratto_template</attribute>
  482. </orm-attributes>
  483. </entity>
  484. <entity name="\App\Models\ContrattoTemplateTodo" local-name="ContrattoTemplateTodo" namespace="\App\Models" uuid="cdb29815-3972-4ad8-8d0a-f3265469539f">
  485. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="663ad965-eeea-4054-85e0-0ee4f376c809"/>
  486. <field name="contratto_template_id" type="bigInteger" unsigned="true" uuid="6648a1e1-dcaf-447e-be6b-91b1e3291dd7"/>
  487. <field name="titolo" type="string" uuid="f7a50105-eaa2-44f0-bbb3-8e85521f9993"/>
  488. <field name="descrizione" type="text" uuid="eb2c2957-2e28-44d2-a863-fae44f0c57ac"/>
  489. <field name="tipo_schedulazione" type="string" uuid="dbb7da2b-d5e3-4bd9-8914-42e837e14452"/>
  490. <field name="cron" type="string" uuid="bb7c1237-cf7d-4c74-9ada-7dfcd5556c4d"/>
  491. <field name="mese" type="integer" uuid="8565fdbc-6300-47d1-95c3-9f551b83e3f7"/>
  492. <field name="giorno" type="integer" uuid="d3840541-257a-480f-b435-f90387c73a6e"/>
  493. <field name="offset_giorni" type="integer" uuid="5542385e-4e90-4e00-a1df-67b922783054"/>
  494. <field name="priorita" type="string" uuid="6fea7b43-9ac5-46e6-abc2-cc536b3ad9a1"/>
  495. <field name="tipo_segnalazione" type="string" uuid="ce5542d0-0ec5-4060-b96b-ca3c4d24d622"/>
  496. <field name="ordine" type="integer" default="0" uuid="fc2f2ea2-f5c4-4869-8b7a-d5506a9decd7"/>
  497. <field name="attivo" type="boolean" default="1" uuid="1a0ad012-c968-4da2-81df-8c3cf2f028ab"/>
  498. <field name="meta" type="json" uuid="8cbf484b-40ba-4b06-b460-ee96af0abf77"/>
  499. <field name="created_at" type="timestamp" uuid="f74ad5f7-3cfc-4f36-8d04-d34e9450761e"/>
  500. <field name="updated_at" type="timestamp" uuid="0dd4eddd-2ba5-4ecd-a172-ed2aed451dde"/>
  501. <orm-attributes>
  502. <attribute name="fillableAll">as-fillable-all</attribute>
  503. <attribute name="table">contratto_template_todo</attribute>
  504. </orm-attributes>
  505. </entity>
  506. <association from="\App\Models\ContrattoTemplateTodo" to="\App\Models\ContrattoTemplate" caption="ContrattoTemplate ContrattoTemplateTodos" owner-alias="contrattoTemplateTodos" inverse-alias="contrattoTemplate" many-owner="true" many-inverse="false" uuid="35b0ed5e-e7f9-4a4f-ad24-2547a9392e87">
  507. <association-field from="contratto_template_id" to="id" uuid="585c20ce-9da8-4fe2-9926-0681cd0c32f1"/>
  508. <orm-attributes>
  509. <attribute name="onDelete">cascade</attribute>
  510. </orm-attributes>
  511. </association>
  512. <entity name="\App\Models\ContrattoServizioTodo" local-name="ContrattoServizioTodo" namespace="\App\Models" uuid="394c3968-e086-46ca-a3ac-0c99d75eddc6">
  513. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="95b74961-e2b4-4640-a235-4938034902c5"/>
  514. <field name="contratto_servizio_id" type="bigInteger" unsigned="true" uuid="f516123c-2034-4aca-9213-397460593262"/>
  515. <field name="contratto_template_todo_id" type="bigInteger" unsigned="true" uuid="0d340f14-2c61-4b71-b1ac-d01d0ff45adc"/>
  516. <field name="titolo" type="string" uuid="cc0106de-1acb-4da9-84f3-53c8941c0619"/>
  517. <field name="descrizione" type="text" uuid="020ff5ed-d5a6-43a2-a278-ac4a2b764959"/>
  518. <field name="tipo_schedulazione" type="string" uuid="f8841146-18f3-4906-9553-23f29e60ae3d"/>
  519. <field name="cron" type="string" uuid="83e3ed9d-ec16-42c3-8e29-adb77a03bb79"/>
  520. <field name="mese" type="integer" uuid="89138272-52f9-4889-a719-456357a0a27f"/>
  521. <field name="giorno" type="integer" uuid="e00540bf-6f4a-47ae-9820-da5a5f1d638f"/>
  522. <field name="offset_giorni" type="integer" uuid="7746bf3a-6d93-4109-ad6f-0147316b410a"/>
  523. <field name="data_prossima" type="date" uuid="396211be-d355-4cba-8b01-3fc9433b79a5"/>
  524. <field name="data_ultima" type="date" uuid="6e791de8-605c-47ad-9cee-a91fe1201068"/>
  525. <field name="priorita" type="string" uuid="1bb1e02d-a910-4d25-807f-c2c980d4e796"/>
  526. <field name="tipo_segnalazione" type="string" uuid="a21a2141-f099-452a-99ca-9c58d337b73f"/>
  527. <field name="ordine" type="integer" default="0" uuid="7a97d379-d5bd-4f9d-946c-6ae1c90ba703"/>
  528. <field name="attivo" type="boolean" default="1" uuid="186a4b94-28db-416d-85b6-c29eeeb39485"/>
  529. <field name="meta" type="json" uuid="a331b115-cc85-4785-961a-a2d38cab807c"/>
  530. <field name="created_at" type="timestamp" uuid="31e43e01-782b-4d66-a47a-3c582ac65491"/>
  531. <field name="updated_at" type="timestamp" uuid="c1aacd09-e455-4e64-b398-8bd590da01ad"/>
  532. <orm-attributes>
  533. <attribute name="fillableAll">as-fillable-all</attribute>
  534. <attribute name="table">contratto_servizio_todo</attribute>
  535. </orm-attributes>
  536. </entity>
  537. <association from="\App\Models\ContrattoServizioTodo" to="\App\Models\ContrattoServizio" caption="ContrattoServizio ContrattoServizioTodos" owner-alias="contrattoServizioTodos" inverse-alias="contrattoServizio" many-owner="true" many-inverse="false" uuid="3e2b345d-f7f3-47e9-b6da-39b2c597e870">
  538. <association-field from="contratto_servizio_id" to="id" uuid="599210f0-f87a-4280-badd-0717a4fbcd40"/>
  539. <orm-attributes>
  540. <attribute name="onDelete">cascade</attribute>
  541. </orm-attributes>
  542. </association>
  543. <association from="\App\Models\ContrattoServizioTodo" to="\App\Models\ContrattoTemplateTodo" caption="ContrattoTemplateTodo ContrattoServizioTodos" owner-alias="contrattoServizioTodos" inverse-alias="contrattoTemplateTodo" many-owner="true" many-inverse="false" uuid="e29244ac-f1e5-4629-bf06-2d29d4a7664c">
  544. <association-field from="contratto_template_todo_id" to="id" uuid="5b213914-00e8-4c89-9150-7022b294766a"/>
  545. <orm-attributes>
  546. <attribute name="onDelete">set null</attribute>
  547. </orm-attributes>
  548. </association>
  549. <entity name="\App\Models\ContrattoTemplateRiga" local-name="ContrattoTemplateRiga" namespace="\App\Models" uuid="5c90d7b2-3bfb-4531-906b-ffb50049910d">
  550. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="c594c8bc-e6be-4b44-b28a-8ddfe4893c97"/>
  551. <field name="contratto_template_id" type="bigInteger" unsigned="true" uuid="655f5603-7405-4da7-b945-492a74b82232"/>
  552. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="891eb65f-5e50-47a5-8d6a-48dd6f5a76ff"/>
  553. <field name="quantita" type="decimal" size="10" uuid="674f04ea-e6bd-4015-b80d-531ef3f4092d">
  554. <orm-attributes>
  555. <attribute name="decimal">2</attribute>
  556. </orm-attributes>
  557. </field>
  558. <field name="unita_misura" type="string" uuid="8a770361-3ac1-4f27-a2b5-0f7375fea6c4"/>
  559. <field name="prezzo_unitario" type="decimal" size="10" uuid="a0418b73-b1f5-444c-b546-e7fe1216b4a9">
  560. <orm-attributes>
  561. <attribute name="decimal">2</attribute>
  562. </orm-attributes>
  563. </field>
  564. <field name="periodo" type="string" uuid="cb3ffa97-9aa1-4e33-9de6-f2dc5b69347e"/>
  565. <field name="note" type="text" uuid="afecd4d2-26d4-4639-a390-be8b02023ba1"/>
  566. <field name="ordine" type="integer" default="0" uuid="509ec89f-2c7c-49b4-9083-0d1304760ef1"/>
  567. <field name="created_at" type="timestamp" uuid="0618fd13-368f-46d4-9c9f-cd649579384b"/>
  568. <field name="updated_at" type="timestamp" uuid="9d5c1e64-5a11-4dd5-bbda-7287d5c91307"/>
  569. <orm-attributes>
  570. <attribute name="fillableAll">as-fillable-all</attribute>
  571. <attribute name="table">contratto_template_riga</attribute>
  572. </orm-attributes>
  573. </entity>
  574. <association from="\App\Models\ContrattoTemplateRiga" to="\App\Models\Prodotto" caption="Prodotto ContrattoTemplateRigas" owner-alias="contrattiTemplateRiga" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="64df4dd6-cb23-408a-a4f1-e1a723103aa0">
  575. <association-field from="prodotto_id" to="id" uuid="ddbd2bf2-b433-47b1-9c3b-486b86f25032"/>
  576. <orm-attributes>
  577. <attribute name="onDelete">set null</attribute>
  578. </orm-attributes>
  579. </association>
  580. <association from="\App\Models\ContrattoTemplateRiga" to="\App\Models\ContrattoTemplate" caption="ContrattoTemplate ContrattoTemplateRigas" owner-alias="contrattoTemplateRigas" inverse-alias="contrattoTemplate" many-owner="true" many-inverse="false" uuid="79ac3c47-aa91-4b9f-a46d-b5aa7c818f6f">
  581. <association-field from="contratto_template_id" to="id" uuid="868068aa-7b93-4c95-ae09-588db5fe51e2"/>
  582. <orm-attributes>
  583. <attribute name="onDelete">cascade</attribute>
  584. </orm-attributes>
  585. </association>
  586. <entity name="\App\Models\ContrattoServizioRiga" local-name="ContrattoServizioRiga" namespace="\App\Models" uuid="acba2571-6f1b-46a8-85b8-001d04f4aaca">
  587. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="e39c970f-e64a-44c5-ad58-1701397cd924"/>
  588. <field name="contratto_servizio_id" type="bigInteger" unsigned="true" uuid="0a5b2558-c482-448c-bbd4-438a5ce8a905"/>
  589. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="1365f409-2ba4-46f1-8781-bff463c01a2c"/>
  590. <field name="quantita" type="decimal" size="10" uuid="1b2edca7-2ad1-47de-971e-5c1b82e7a49d">
  591. <orm-attributes>
  592. <attribute name="decimal">2</attribute>
  593. </orm-attributes>
  594. </field>
  595. <field name="unita_misura" type="string" uuid="d92bbf06-a497-4525-afd5-a550a99f8ef3"/>
  596. <field name="prezzo_unitario" type="decimal" size="10" uuid="8db2eb16-6b67-402e-bd36-c9e662a0f5a7">
  597. <orm-attributes>
  598. <attribute name="decimal">2</attribute>
  599. </orm-attributes>
  600. </field>
  601. <field name="periodo" type="string" uuid="ff878a32-4891-4622-8bd1-0c053da212ff"/>
  602. <field name="note" type="text" uuid="73662125-5f5e-4918-bade-f5428ab2def4"/>
  603. <field name="ordine" type="integer" default="0" uuid="953a6161-5754-4c09-8248-bd4f63383948"/>
  604. <field name="created_at" type="timestamp" uuid="d01c008b-3dd8-4f7d-87a5-5b74dc328f5c"/>
  605. <field name="updated_at" type="timestamp" uuid="23bc72d4-6532-4422-b813-f4689c8b34ad"/>
  606. <orm-attributes>
  607. <attribute name="fillableAll">as-fillable-all</attribute>
  608. <attribute name="table">contratto_servizio_riga</attribute>
  609. </orm-attributes>
  610. </entity>
  611. <association from="\App\Models\ContrattoServizioRiga" to="\App\Models\Prodotto" caption="Prodotto ContrattoTemplateRigas" owner-alias="contrattiServizioRiga" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="5c8d1dc1-15ed-4379-addb-6b0addcd047e">
  612. <association-field from="prodotto_id" to="id" uuid="e1b63a6d-9fc1-48b8-8a2a-54a34489ff3a"/>
  613. <orm-attributes>
  614. <attribute name="onDelete">set null</attribute>
  615. </orm-attributes>
  616. </association>
  617. <association from="\App\Models\ContrattoServizioRiga" to="\App\Models\ContrattoServizio" caption="ContrattoServizio ContrattoServizioRigas" owner-alias="contrattoServizioRigas" inverse-alias="contrattoServizio" many-owner="true" many-inverse="false" uuid="b2867c66-0dcf-4a4c-99ce-cbdda8b11d6f">
  618. <association-field from="contratto_servizio_id" to="id" uuid="79825cde-3073-435d-9dec-fec172cbf19d"/>
  619. <orm-attributes>
  620. <attribute name="onDelete">cascade</attribute>
  621. </orm-attributes>
  622. </association>
  623. <entity name="\App\Models\PromoCode" local-name="PromoCode" namespace="\App\Models" uuid="c0890191-d438-495f-819a-1a045d21a357">
  624. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="82e57f04-7b3a-4ec9-9cb1-8ab821e49024"/>
  625. <field name="codice" type="string" uuid="ee767607-dea9-4828-bf9f-780b10ab3127"/>
  626. <field name="sconto_percentuale" type="decimal" size="10" uuid="fe6bedd5-c44a-405d-af80-868f871e09fe">
  627. <orm-attributes>
  628. <attribute name="decimal">2</attribute>
  629. </orm-attributes>
  630. </field>
  631. <field name="attivo" type="boolean" default="1" uuid="5ffde063-aea1-49de-a6b4-c8b710e11c5d"/>
  632. <field name="valido_dal" type="date" uuid="fba28412-e36c-4bb9-bbbc-a536cf12ae20"/>
  633. <field name="valido_al" type="date" uuid="6b62a9cc-8f2b-45cb-9396-b3a73e3201be"/>
  634. <field name="usi_max" type="integer" uuid="b6e44e7c-fe55-4914-9772-691b14832075"/>
  635. <field name="usi_count" type="integer" uuid="866015d2-09d0-4395-891c-a6c66cd27230"/>
  636. <field name="note" type="text" uuid="0945421e-d222-4ba8-aa95-762a58678b7e"/>
  637. <field name="created_at" type="timestamp" uuid="108d2bec-f727-41af-9a47-f1d29b0be843"/>
  638. <field name="updated_at" type="timestamp" uuid="b433b376-1050-49b0-9c1d-86f0b4aef896"/>
  639. <orm-attributes>
  640. <attribute name="fillableAll">as-fillable-all</attribute>
  641. <attribute name="table">promo_code</attribute>
  642. </orm-attributes>
  643. </entity>
  644. <entity name="\App\Models\PromoCodeHasProdotto" local-name="PromoCodeHasProdotto" namespace="\App\Models" uuid="273deed0-9f6e-4aca-b64b-22a657db2a21">
  645. <field name="prodotto_id" type="bigInteger" required="true" primary="true" unsigned="true" uuid="2ded0962-e47f-4bee-94d0-364923a9aace"/>
  646. <field name="promo_code_id" type="bigInteger" required="true" primary="true" unsigned="true" uuid="cbfc3db8-20fd-4fce-8dff-402604dd3d20"/>
  647. </entity>
  648. <many-to-many mn-entity="\App\Models\PromoCodeHasProdotto" caption="PromoCode to Prodotto" uuid="b628247f-6792-430c-970b-aa651c7f7870">
  649. <many-to-many-entity name="\App\Models\Prodotto" owning-side="true" alias="prodotti" uuid="b51dbffa-75cf-4b1a-92eb-83a8ac62d775">
  650. <many-to-many-field from="prodotto_id" to="id" uuid="727ea3ce-db87-4aba-8a83-db60bda0e7e4"/>
  651. </many-to-many-entity>
  652. <many-to-many-entity name="\App\Models\PromoCode" owning-side="false" alias="promoCodes" uuid="90017630-36c3-4e45-b433-7eec25a364e8">
  653. <many-to-many-field from="promo_code_id" to="id" uuid="3155e17d-c9ee-4911-a98d-ca14e7351d0b"/>
  654. </many-to-many-entity>
  655. </many-to-many>
  656. <entity name="\App\Models\AcquistoServizio" local-name="AcquistoServizio" namespace="\App\Models" uuid="c9dad18d-0272-4878-8404-fd0db896b447">
  657. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="f948a486-f887-46c0-96be-87ce5f4c6945"/>
  658. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="bc680727-da9a-43e4-8291-067fcdb491db"/>
  659. <field name="promo_code_id" type="bigInteger" unsigned="true" uuid="c4101336-5ef2-4fe8-a222-ba16450e4317"/>
  660. <field name="segnalazione_id" type="bigInteger" unsigned="true" uuid="43d5b052-1494-4bd6-97ac-391c515d37f5"/>
  661. <field name="nome" type="string" uuid="27d91a86-9d2f-4311-a923-bd97abde2241"/>
  662. <field name="email" type="string" uuid="4ad66228-0077-4bed-a371-b6784f4e28eb"/>
  663. <field name="telefono" type="string" uuid="0cbd8803-1513-4000-ac24-428a9b217ea9"/>
  664. <field name="modalita" type="string" uuid="adcbaf5e-7e09-422b-a6ce-4016c7bab0de"/>
  665. <field name="prezzo_servizio" type="decimal" size="10" uuid="6d3fd49c-d838-47c5-b212-381b9a2a920e">
  666. <orm-attributes>
  667. <attribute name="decimal">2</attribute>
  668. </orm-attributes>
  669. </field>
  670. <field name="costo_domicilio" type="decimal" size="10" uuid="b993cd59-1578-4198-bca0-d48c3fa882a1">
  671. <orm-attributes>
  672. <attribute name="decimal">2</attribute>
  673. </orm-attributes>
  674. </field>
  675. <field name="sconto" type="decimal" size="10" uuid="6874d156-0200-4215-80c3-2d6a7719eda3">
  676. <orm-attributes>
  677. <attribute name="decimal">2</attribute>
  678. </orm-attributes>
  679. </field>
  680. <field name="totale" type="decimal" size="10" uuid="88cf3d8e-2f2c-4c58-9c13-da2d462b4d16">
  681. <orm-attributes>
  682. <attribute name="decimal">2</attribute>
  683. </orm-attributes>
  684. </field>
  685. <field name="provider" type="string" uuid="e66150ce-7775-4426-959a-00e799f75568"/>
  686. <field name="payment_status" type="string" uuid="463c8589-2ec6-433c-b78e-f173cf9787b7"/>
  687. <field name="condizioni_accettate_at" type="dateTime" uuid="4a75c4b5-5391-4088-a88d-14beadfb0914"/>
  688. <field name="token" type="string" uuid="3c187398-c6bd-42b8-a22c-0674e1579405"/>
  689. <field name="meta" type="json" uuid="9b9bd179-d249-4d73-a35d-1811619012df"/>
  690. <field name="codice_fiscale" type="string" uuid="ce0d688a-8a3b-4b93-a5b1-34c449881314"/>
  691. <field name="indirizzo" type="string" uuid="43f589c6-38d2-4b3d-a009-daf87264a3f9"/>
  692. <field name="note_cliente" type="text" uuid="88543171-e695-4be3-acfe-8955f90ef825"/>
  693. <field name="note_operatore" type="string" uuid="d992c256-dd60-40f7-8032-01c55e6b759b"/>
  694. <field name="created_at" type="timestamp" uuid="af995e1a-0223-486e-98d0-85d429fa3d9b"/>
  695. <field name="updated_at" type="timestamp" uuid="fd6b9919-0139-45f2-b4e2-f3cc84321316"/>
  696. <orm-attributes>
  697. <attribute name="fillableAll">as-fillable-all</attribute>
  698. <attribute name="table">acquisto_servizio</attribute>
  699. </orm-attributes>
  700. </entity>
  701. <association from="\App\Models\AcquistoServizio" to="\App\Models\Prodotto" caption="Prodotto AcquistoServizios" owner-alias="acquistiServizio" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="d49573ad-aa71-43d3-a053-0858f655cd29">
  702. <association-field from="prodotto_id" to="id" uuid="cbfb0c26-6096-4ff5-95ec-766af130bf9c"/>
  703. <orm-attributes>
  704. <attribute name="onDelete">set null</attribute>
  705. </orm-attributes>
  706. </association>
  707. <association from="\App\Models\AcquistoServizio" to="\App\Models\PromoCode" caption="PromoCode AcquistoServizios" owner-alias="acquistiServizio" inverse-alias="promoCode" many-owner="true" many-inverse="false" uuid="c227ab02-8c3d-4a91-88a1-51e115f830a0">
  708. <association-field from="promo_code_id" to="id" uuid="35849a96-4291-4068-a130-a6570917a0cc"/>
  709. <orm-attributes>
  710. <attribute name="onDelete">set null</attribute>
  711. </orm-attributes>
  712. </association>
  713. <association from="\App\Models\AcquistoServizio" to="\App\Models\Segnalazione" caption="Segnalazione AcquistoServizios" owner-alias="acquistoServizios" inverse-alias="segnalazione" many-owner="true" many-inverse="false" uuid="b4bf7317-84eb-4d04-889e-5a8fcf84b12f">
  714. <association-field from="segnalazione_id" to="id" uuid="54f240d3-c752-4594-9da1-2f1f569d36c8"/>
  715. <orm-attributes>
  716. <attribute name="onDelete">set null</attribute>
  717. </orm-attributes>
  718. </association>
  719. <entity name="\App\Models\ProdottoTodo" local-name="ProdottoTodo" namespace="\App\Models" uuid="c493452e-6e93-4e0e-a1b2-0791f82188b1">
  720. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="87bde1ea-7640-400e-a7d1-0462489ae11d"/>
  721. <field name="prodotto_id" type="bigInteger" unsigned="true" uuid="25811152-45de-471d-8564-cc81ef9786e8"/>
  722. <field name="titolo" type="string" uuid="a603f5de-b1a1-4f62-bb8c-f4f1cd7c3f50"/>
  723. <field name="descrizione" type="text" uuid="985444a2-483b-4a8c-a899-1479af35314b"/>
  724. <field name="ordine" type="integer" default="0" uuid="95190e25-ec45-4882-b288-e38a0db8ed74"/>
  725. <field name="attivo" type="boolean" default="1" uuid="d64d14fd-6ac7-40bc-9f92-3139b413f803"/>
  726. <field name="obbligatorio" type="boolean" default="0" uuid="07db0aa3-81fe-4d89-a496-04842f0d087b"/>
  727. <field name="meta" type="json" uuid="af4eba12-2a21-4023-bd8e-da0d4b46e265"/>
  728. <field name="public" type="boolean" default="1" uuid="f6354bf0-0cf6-43e5-9df8-bcf6c63ed4bd"/>
  729. <field name="created_at" type="timestamp" uuid="c0946141-13ab-487a-b958-6faee53e5b08"/>
  730. <field name="updated_at" type="timestamp" uuid="27d28691-d311-4d90-9e47-6a56544091dc"/>
  731. <orm-attributes>
  732. <attribute name="fillableAll">as-fillable-all</attribute>
  733. <attribute name="table">prodotto_todo</attribute>
  734. </orm-attributes>
  735. </entity>
  736. <association from="\App\Models\ProdottoTodo" to="\App\Models\Prodotto" caption="Prodotto ProdottoTodos" owner-alias="prodottoTodos" inverse-alias="prodotto" many-owner="true" many-inverse="false" uuid="6debb5a0-4bc9-4e03-bafa-569e49949ad6">
  737. <association-field from="prodotto_id" to="id" uuid="8739cbb8-97d0-4b24-bdf2-7218bba13cf2"/>
  738. <orm-attributes>
  739. <attribute name="onDelete">cascade</attribute>
  740. </orm-attributes>
  741. </association>
  742. <entity name="\App\Models\SegnalazioneTodo" local-name="SegnalazioneTodo" namespace="\App\Models" uuid="05f7d8b0-095f-456c-96ec-3980b0435855">
  743. <field name="id" type="bigInteger" required="true" unique="true" primary="true" unsigned="true" auto-increment="true" uuid="1df0218e-6128-4831-9b3b-2eac58ffa182"/>
  744. <field name="segnalazione_id" type="bigInteger" unsigned="true" uuid="d14a0c59-6b66-4328-bd55-de2d7a0a27a6"/>
  745. <field name="prodotto_todo_id" type="bigInteger" unsigned="true" uuid="a48df42a-6791-41b7-92a8-0b02e7f25ca5"/>
  746. <field name="completato_da_id" type="bigInteger" unsigned="true" uuid="fdee23c2-9175-4495-99b4-631761149856"/>
  747. <field name="titolo" type="string" uuid="cb9d1238-a216-4d6d-b75b-890b532e6073"/>
  748. <field name="descrizione" type="text" uuid="192661a9-3d18-4eda-840c-e03991eeb59f"/>
  749. <field name="ordine" type="integer" default="0" uuid="50402be7-5614-49a1-9da9-ab614274f510"/>
  750. <field name="obbligatorio" type="boolean" default="0" uuid="4cafcf9d-7b00-4834-aa70-cdec0fd04dea"/>
  751. <field name="completato_at" type="dateTime" uuid="49c1f168-39e6-4c8a-974f-e8897ce76e15"/>
  752. <field name="meta" type="json" uuid="2c3de855-3f52-411b-8490-0c4367d21605"/>
  753. <field name="public" type="boolean" default="1" uuid="67bb376a-567c-486e-a285-d1a52b515c00"/>
  754. <field name="created_at" type="timestamp" uuid="eeb4f415-6d04-4886-8c4a-b24732fd87ba"/>
  755. <field name="updated_at" type="timestamp" uuid="b8abd05e-4682-4f4e-ad50-cc3980955c82"/>
  756. <orm-attributes>
  757. <attribute name="fillableAll">as-fillable-all</attribute>
  758. <attribute name="table">segnalazione_todo</attribute>
  759. </orm-attributes>
  760. </entity>
  761. <association from="\App\Models\SegnalazioneTodo" to="\App\Models\Segnalazione" caption="Segnalazione SegnalazioneTodos" owner-alias="segnalazioneTodos" inverse-alias="segnalazione" many-owner="true" many-inverse="false" uuid="ae43bea5-a4e1-4e9c-881c-ab2a91c7b743">
  762. <association-field from="segnalazione_id" to="id" uuid="7c11bde8-f541-4a43-aa6b-a8583a591dbe"/>
  763. <orm-attributes>
  764. <attribute name="onDelete">cascade</attribute>
  765. </orm-attributes>
  766. </association>
  767. <association from="\App\Models\SegnalazioneTodo" to="\App\Models\ProdottoTodo" caption="ProdottoTodo SegnalazioneTodos" owner-alias="segnalazioneTodos" inverse-alias="prodottoTodo" many-owner="true" many-inverse="false" uuid="05c3f975-b61c-490e-aa04-080772b499ad">
  768. <association-field from="prodotto_todo_id" to="id" uuid="86840487-55f9-4adc-b5fe-98379305f899"/>
  769. <orm-attributes>
  770. <attribute name="onDelete">set null</attribute>
  771. </orm-attributes>
  772. </association>
  773. <association from="\App\Models\SegnalazioneTodo" to="\App\Models\User" caption="User SegnalazioneTodos" owner-alias="segnalazioneTodos" inverse-alias="completatoDa" many-owner="true" many-inverse="false" uuid="eb76c46e-4fae-41a5-8cca-e38e69788e6d">
  774. <association-field from="completato_da_id" to="id" uuid="1422f882-923a-4fb9-ba53-b782043d1aad"/>
  775. </association>
  776. <migrations version="1.0"/>
  777. </module>
  778. <visual-data>
  779. <association uuid="05c3f975-b61c-490e-aa04-080772b499ad" color="#969696"/>
  780. <association uuid="299d534d-b5ef-411c-b66b-f4adaaa3b4f1" color="#969696"/>
  781. <association uuid="2fa65d03-8ddb-413f-8064-798860928786" color="#969696"/>
  782. <association uuid="345b5351-9f8a-4d02-9192-1bb27645761d" color="#969696"/>
  783. <association uuid="35b0ed5e-e7f9-4a4f-ad24-2547a9392e87" color="#969696"/>
  784. <association uuid="3842d2b3-d137-47bc-9a10-14b7a860c153" color="#969696"/>
  785. <association uuid="3d14fd5b-7f78-49e4-831f-a98aa484a94f" color="#969696"/>
  786. <association uuid="3e2b345d-f7f3-47e9-b6da-39b2c597e870" color="#969696"/>
  787. <association uuid="41971b51-8523-4c42-83a6-4ea29a618e4c" color="#969696"/>
  788. <association uuid="4399e41c-477e-44d7-91db-b1cd4614f294" caption1-position-x="0" caption1-position-y="0" center-position-x="0" center-position-y="0" color="#969696"/>
  789. <association uuid="4e4e7f6b-b25f-4a8a-8c8d-ab0e6ec93db7" color="#969696"/>
  790. <association uuid="5c8d1dc1-15ed-4379-addb-6b0addcd047e" color="#969696"/>
  791. <association uuid="5f4ca39e-40ba-4157-bf4c-603b7469b044" color="#969696"/>
  792. <association uuid="64df4dd6-cb23-408a-a4f1-e1a723103aa0" color="#969696"/>
  793. <association uuid="6debb5a0-4bc9-4e03-bafa-569e49949ad6" color="#969696"/>
  794. <association uuid="6faa9818-b5b6-4eab-96b6-6eaf56d1de79" color="#969696"/>
  795. <association uuid="719929c1-e0fe-4feb-950a-ba417c35a60c" color="#969696"/>
  796. <association uuid="787d90ec-5676-4749-9b36-cea959c6793b" caption1-position-x="0" caption1-position-y="0" center-position-x="0" center-position-y="-20" color="#969696"/>
  797. <association uuid="79ac3c47-aa91-4b9f-a46d-b5aa7c818f6f" color="#969696"/>
  798. <association uuid="8399970c-2d0b-403e-996b-e86248cb3bc5" color="#969696"/>
  799. <association uuid="86aded2a-2e4e-4fc2-8702-5191cd073056" color="#969696"/>
  800. <association uuid="9d4fa7d0-23be-4bb2-99bd-67797c3244c0" color="#969696"/>
  801. <association uuid="a005da89-ed4b-4145-bca2-b27aaa8fce4b" color="#969696"/>
  802. <association uuid="ad855143-f6b1-4d71-9d42-409e76e1efb7" color="#969696"/>
  803. <association uuid="ae43bea5-a4e1-4e9c-881c-ab2a91c7b743" color="#969696"/>
  804. <association uuid="b2867c66-0dcf-4a4c-99ce-cbdda8b11d6f" color="#969696"/>
  805. <association uuid="b4bf7317-84eb-4d04-889e-5a8fcf84b12f" color="#969696"/>
  806. <association uuid="bf45bb05-0679-49af-a7e9-9ae9422675ab" color="#969696"/>
  807. <association uuid="c227ab02-8c3d-4a91-88a1-51e115f830a0" color="#969696"/>
  808. <association uuid="d49573ad-aa71-43d3-a053-0858f655cd29" color="#969696"/>
  809. <association uuid="d586b98c-7daa-49d4-ada1-8c2c9223fb66" color="#969696"/>
  810. <association uuid="e29244ac-f1e5-4629-bf06-2d29d4a7664c" color="#969696"/>
  811. <association uuid="eb76c46e-4fae-41a5-8cca-e38e69788e6d" color="#969696"/>
  812. <association uuid="f5d31adf-5971-42f7-90bf-41571fe64218" color="#969696"/>
  813. <association uuid="faaed052-f628-4ae7-8f52-b3614fad893e" color="#969696"/>
  814. <association uuid="fdd9ee5a-9ae1-4736-8b9a-7e7fb84061b3" color="#969696"/>
  815. <entity uuid="05f7d8b0-095f-456c-96ec-3980b0435855" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="377" position-y="460" size-x="0" size-x2="137" size-y="0" size-y2="73"/>
  816. <entity uuid="23c0457c-f9c0-4210-9b12-1c8fa92cd788" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="1311" position-y="581" size-x="0" size-x2="119" size-y="0" size-y2="101"/>
  817. <entity uuid="273deed0-9f6e-4aca-b64b-22a657db2a21" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="877" position-y="547" size-x="0" size-x2="134" size-y="0" size-y2="60"/>
  818. <entity uuid="2ef4e619-ebea-457a-8613-05b3dfb6c7fa" bg-color="#FFFFFF" hdr-color="#FFE762" position-x="1300" position-y="299" size-x="0" size-x2="121" size-y="0" size-y2="115"/>
  819. <entity uuid="394c3968-e086-46ca-a3ac-0c99d75eddc6" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="1028" position-y="306" size-x="0" size-x2="181" size-y="0" size-y2="283"/>
  820. <entity uuid="43c9733c-5074-4c8d-9cb1-33867510c2fc" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="40" position-y="440" size-x="0" size-x2="137" size-y="0" size-y2="213"/>
  821. <entity uuid="56185713-1439-4bd9-81df-6d5339d066ce" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="35" position-y="36" size-x="0" size-x2="142" size-y="0" size-y2="157"/>
  822. <entity uuid="58092d28-4a8e-4122-8204-5e009fc16ce6" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="643" position-y="308" size-x="0" size-x2="162" size-y="0" size-y2="255"/>
  823. <entity uuid="5c90d7b2-3bfb-4531-906b-ffb50049910d" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="809" position-y="25" size-x="0" size-x2="141" size-y="0" size-y2="157"/>
  824. <entity uuid="6128d2f6-88d0-472b-bc71-0a9f49370847" bg-color="#FFFFFF" hdr-color="#FFE762" position-x="1301" position-y="144" size-x="0" size-x2="119" size-y="0" size-y2="87"/>
  825. <entity uuid="735de4a0-df7b-48d1-a686-8b7b88229151" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="647" position-y="26" size-x="0" size-x2="119" size-y="0" size-y2="143"/>
  826. <entity uuid="77be2d5b-7aa8-4a5f-86da-102064c025e6" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="807" position-y="634" size-x="0" size-x2="141" size-y="0" size-y2="199"/>
  827. <entity uuid="8819ca52-ae65-43e3-8aa4-a9d99d228284" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="1301" position-y="697" size-x="0" size-x2="119" size-y="0" size-y2="199"/>
  828. <entity uuid="97b95f3d-1074-4c5d-a526-c829f6bda8f0" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="216" position-y="690" size-x="0" size-x2="177" size-y="0" size-y2="185"/>
  829. <entity uuid="98806966-1270-452c-b1ab-cdae6e0016b6" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="560" position-y="569" size-x="0" size-x2="139" size-y="0" size-y2="60"/>
  830. <entity uuid="acba2571-6f1b-46a8-85b8-001d04f4aaca" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="829" position-y="310" size-x="0" size-x2="141" size-y="0" size-y2="157"/>
  831. <entity uuid="b21d156e-828b-49fe-87a8-659eb8411896" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="273" position-y="23" size-x="0" size-x2="177" size-y="0" size-y2="297"/>
  832. <entity uuid="be8b5d1d-91da-4d7b-a50e-415ef90e5669" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="221" position-y="422" size-x="0" size-x2="133" size-y="0" size-y2="115"/>
  833. <entity uuid="c0890191-d438-495f-819a-1a045d21a357" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="967" position-y="709" size-x="0" size-x2="158" size-y="0" size-y2="171"/>
  834. <entity uuid="c493452e-6e93-4e0e-a1b2-0791f82188b1" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="513" position-y="274" size-x="0" size-x2="119" size-y="0" size-y2="157"/>
  835. <entity uuid="c9dad18d-0272-4878-8404-fd0db896b447" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="1132" position-y="623" size-x="0" size-x2="164" size-y="0" size-y2="269"/>
  836. <entity uuid="cdb29815-3972-4ad8-8d0a-f3265469539f" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="1030" position-y="25" size-x="0" size-x2="159" size-y="0" size-y2="241"/>
  837. <entity uuid="dd24c9ce-a45f-4d90-b374-ede2efe2e25b" bg-color="#FFFFFF" hdr-color="#FFE762" position-x="1300" position-y="433" size-x="0" size-x2="119" size-y="0" size-y2="129"/>
  838. <entity uuid="ec22a629-0e0a-4949-9ca3-43c6afee8ed5" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="481" position-y="25" size-x="0" size-x2="119" size-y="0" size-y2="185"/>
  839. <entity uuid="f1331b94-8ccf-4328-bc32-bffdc732572e" bg-color="#FFFFFF" hdr-color="#FFE762" position-x="1301" position-y="-11" size-x="0" size-x2="119" size-y="0" size-y2="101"/>
  840. <entity uuid="f98de9f5-eb6f-467a-8f95-31b70d915946" bg-color="#FFFFFF" hdr-color="#D2D2D2" position-x="675" position-y="633" size-x="0" size-x2="119" size-y="0" size-y2="199"/>
  841. <many-to-many-association uuid="2f367518-de50-431b-a35b-845be0f0d6a1" color="#969696"/>
  842. <many-to-many-association uuid="b628247f-6792-430c-970b-aa651c7f7870" color="#969696"/>
  843. <module uuid="09bf51bf-3812-47d1-ab60-2ea025d5ee72" bg-color="#EAE4F1" position-x="34" position-y="55" size-x="11" size-x2="1625" size-y="22" size-y2="968"/>
  844. <project uuid="3072e02c-7554-4faa-a6bb-1bdf47958cd4" size-x="27" size-x2="1709" size-y="17" size-y2="1073"/>
  845. </visual-data>
  846. </skipper>