contents 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="12141" systemVersion="16F73" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="2">
  3. <entity name="Activity" representedClassName="Activity" syncable="YES" codeGenerationType="class">
  4. <attribute name="after_en" optional="YES" attributeType="Float" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  5. <attribute name="after_es" optional="YES" attributeType="String" syncable="YES"/>
  6. <attribute name="after_eu" optional="YES" attributeType="String" syncable="YES"/>
  7. <attribute name="album" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  8. <attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  9. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  10. <attribute name="inscription" optional="YES" attributeType="Boolean" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  11. <attribute name="max_people" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  12. <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
  13. <attribute name="price" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  14. <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
  15. <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
  16. <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
  17. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  18. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  19. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  20. <relationship name="album_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Album" syncable="YES"/>
  21. </entity>
  22. <entity name="Activity_comment" representedClassName="Activity_comment" syncable="YES" codeGenerationType="class">
  23. <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  24. <attribute name="dtime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  25. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  26. <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
  27. <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
  28. <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
  29. <relationship name="activity_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" syncable="YES"/>
  30. </entity>
  31. <entity name="Activity_image" representedClassName="Activity_image" syncable="YES" codeGenerationType="class">
  32. <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  33. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  34. <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  35. <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
  36. <relationship name="activity_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" syncable="YES"/>
  37. </entity>
  38. <entity name="Activity_itinerary" representedClassName="Activity_itinerary" syncable="YES" codeGenerationType="class">
  39. <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  40. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  41. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  42. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  43. <attribute name="end" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  44. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  45. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  46. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  47. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  48. <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  49. <attribute name="route" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  50. <attribute name="start" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  51. <relationship name="activity_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" syncable="YES"/>
  52. <relationship name="place_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Place" syncable="YES"/>
  53. <relationship name="route_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Route" syncable="YES"/>
  54. </entity>
  55. <entity name="Activity_tag" representedClassName="Activity_tag" syncable="YES" codeGenerationType="class">
  56. <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  57. <attribute name="tag" optional="YES" attributeType="String" syncable="YES"/>
  58. <relationship name="activity_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Activity" syncable="YES"/>
  59. </entity>
  60. <entity name="Album" representedClassName="Album" syncable="YES" codeGenerationType="class">
  61. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  62. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  63. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  64. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  65. <attribute name="open" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  66. <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
  67. <attribute name="time" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  68. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  69. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  70. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  71. </entity>
  72. <entity name="Festival" representedClassName="Festival" syncable="YES" codeGenerationType="class">
  73. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  74. <attribute name="img" optional="YES" attributeType="String" syncable="YES"/>
  75. <attribute name="summary_en" optional="YES" attributeType="String" syncable="YES"/>
  76. <attribute name="summary_es" optional="YES" attributeType="String" syncable="YES"/>
  77. <attribute name="summary_eu" optional="YES" attributeType="String" syncable="YES"/>
  78. <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
  79. <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
  80. <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
  81. <attribute name="year" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  82. </entity>
  83. <entity name="Festival_day" representedClassName="Festival_day" syncable="YES" codeGenerationType="class">
  84. <attribute name="date" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  85. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  86. <attribute name="max_people" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  87. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  88. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  89. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  90. <attribute name="people" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  91. <attribute name="price" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  92. </entity>
  93. <entity name="Festival_event_city" representedClassName="Festival_event_city" syncable="YES" codeGenerationType="class">
  94. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  95. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  96. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  97. <attribute name="end" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  98. <attribute name="host" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  99. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  100. <attribute name="interest" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  101. <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  102. <attribute name="route" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  103. <attribute name="sponsor" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  104. <attribute name="start" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  105. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  106. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  107. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  108. <relationship name="host_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="People" syncable="YES"/>
  109. <relationship name="place_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Place" syncable="YES"/>
  110. <relationship name="route_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Route" syncable="YES"/>
  111. <relationship name="sponsor_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="People" syncable="YES"/>
  112. </entity>
  113. <entity name="Festival_event_gm" representedClassName="Festival_event_gm" syncable="YES" codeGenerationType="class">
  114. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  115. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  116. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  117. <attribute name="end" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  118. <attribute name="host" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  119. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  120. <attribute name="interest" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  121. <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  122. <attribute name="route" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  123. <attribute name="sponsor" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  124. <attribute name="start" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  125. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  126. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  127. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  128. <relationship name="host_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="People" syncable="YES"/>
  129. <relationship name="place_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Place" syncable="YES"/>
  130. <relationship name="route_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Route" syncable="YES"/>
  131. <relationship name="sponsor_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="People" syncable="YES"/>
  132. </entity>
  133. <entity name="Festival_event_image" representedClassName="Festival_event_image" syncable="YES" codeGenerationType="class">
  134. <attribute name="festival_event" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  135. <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  136. <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
  137. </entity>
  138. <entity name="Festival_offer" representedClassName="Festival_offer" syncable="YES" codeGenerationType="class">
  139. <attribute name="days" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  140. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  141. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  142. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  143. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  144. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  145. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  146. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  147. <attribute name="price" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  148. <attribute name="year" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  149. <relationship name="year_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Festival" syncable="YES"/>
  150. </entity>
  151. <entity name="Notification" representedClassName="Notification" syncable="YES" codeGenerationType="class">
  152. <attribute name="action" optional="YES" attributeType="String" syncable="YES"/>
  153. <attribute name="dtime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  154. <attribute name="duration" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  155. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  156. <attribute name="internal" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  157. <attribute name="seen" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  158. <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
  159. <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
  160. <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
  161. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  162. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  163. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  164. </entity>
  165. <entity name="People" representedClassName="People" syncable="YES" codeGenerationType="class">
  166. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  167. <attribute name="link" optional="YES" attributeType="String" syncable="YES"/>
  168. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  169. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  170. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  171. </entity>
  172. <entity name="Photo" representedClassName="Photo" syncable="YES" codeGenerationType="class">
  173. <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
  174. <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
  175. <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
  176. <attribute name="dtime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  177. <attribute name="file" optional="YES" attributeType="String" syncable="YES"/>
  178. <attribute name="height" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  179. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  180. <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
  181. <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  182. <attribute name="size" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  183. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  184. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  185. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  186. <attribute name="uploaded" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  187. <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
  188. <attribute name="width" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  189. </entity>
  190. <entity name="Photo_album" representedClassName="Photo_album" syncable="YES" codeGenerationType="class">
  191. <attribute name="album" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  192. <attribute name="photo" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  193. <relationship name="album_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Album" syncable="YES"/>
  194. <relationship name="photo_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Photo" syncable="YES"/>
  195. </entity>
  196. <entity name="Photo_comment" representedClassName="Photo_comment" syncable="YES" codeGenerationType="class">
  197. <attribute name="dtime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  198. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  199. <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
  200. <attribute name="photo" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  201. <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
  202. <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
  203. <relationship name="photo_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Photo" syncable="YES"/>
  204. </entity>
  205. <entity name="Place" representedClassName="Place" syncable="YES" codeGenerationType="class">
  206. <attribute name="address_en" optional="YES" attributeType="String" syncable="YES"/>
  207. <attribute name="address_es" optional="YES" attributeType="String" syncable="YES"/>
  208. <attribute name="address_eu" optional="YES" attributeType="String" syncable="YES"/>
  209. <attribute name="cp" optional="YES" attributeType="String" syncable="YES"/>
  210. <attribute name="lat" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  211. <attribute name="lon" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  212. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  213. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  214. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  215. </entity>
  216. <entity name="Post" representedClassName="Post" syncable="YES" codeGenerationType="class">
  217. <attribute name="comments" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  218. <attribute name="dtime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  219. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  220. <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
  221. <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
  222. <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
  223. <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
  224. <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
  225. <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
  226. <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
  227. <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
  228. </entity>
  229. <entity name="Post_comment" representedClassName="Post_comment" syncable="YES" codeGenerationType="class">
  230. <attribute name="dtime" optional="YES" attributeType="String" syncable="YES"/>
  231. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  232. <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
  233. <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  234. <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
  235. <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
  236. <relationship name="post_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Post" syncable="YES"/>
  237. </entity>
  238. <entity name="Post_image" representedClassName="Post_image" syncable="YES" codeGenerationType="class">
  239. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  240. <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  241. <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
  242. <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  243. <relationship name="post_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Post" syncable="YES"/>
  244. </entity>
  245. <entity name="Post_tag" representedClassName="Post_tag" syncable="YES" codeGenerationType="class">
  246. <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  247. <attribute name="tag" optional="YES" attributeType="String" syncable="YES"/>
  248. <relationship name="post_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Post" syncable="YES"/>
  249. </entity>
  250. <entity name="Route" representedClassName="Route" syncable="YES" codeGenerationType="class">
  251. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  252. <attribute name="mins" optional="YES" attributeType="String" syncable="YES"/>
  253. <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
  254. </entity>
  255. <entity name="Route_point" representedClassName="Route_point" syncable="YES" codeGenerationType="class">
  256. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  257. <attribute name="lat_d" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  258. <attribute name="lat_o" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  259. <attribute name="lon_d" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  260. <attribute name="lon_o" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  261. <attribute name="part" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  262. <attribute name="place_d" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  263. <attribute name="place_o" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  264. <attribute name="route" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  265. <relationship name="place_d_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Place" syncable="YES"/>
  266. <relationship name="place_o_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Place" syncable="YES"/>
  267. <relationship name="route_r" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Route" syncable="YES"/>
  268. </entity>
  269. <entity name="Sponsor" representedClassName="Sponsor" syncable="YES" codeGenerationType="class">
  270. <attribute name="address_en" optional="YES" attributeType="String" syncable="YES"/>
  271. <attribute name="address_es" optional="YES" attributeType="String" syncable="YES"/>
  272. <attribute name="address_eu" optional="YES" attributeType="String" syncable="YES"/>
  273. <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  274. <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
  275. <attribute name="lat" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  276. <attribute name="link" optional="YES" attributeType="String" syncable="YES"/>
  277. <attribute name="lon" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES" syncable="YES"/>
  278. <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
  279. <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
  280. <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
  281. <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
  282. <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
  283. <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
  284. </entity>
  285. <entity name="Version" representedClassName="Version" syncable="YES" codeGenerationType="class">
  286. <attribute name="section" optional="YES" attributeType="String" syncable="YES"/>
  287. <attribute name="version" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  288. </entity>
  289. <elements>
  290. <element name="Activity" positionX="-380" positionY="-117" width="128" height="298"/>
  291. <element name="Activity_comment" positionX="-578" positionY="-18" width="128" height="148"/>
  292. <element name="Activity_image" positionX="-578" positionY="-262" width="128" height="118"/>
  293. <element name="Activity_itinerary" positionX="-513" positionY="171" width="128" height="268"/>
  294. <element name="Activity_tag" positionX="-576" positionY="-126" width="128" height="88"/>
  295. <element name="Album" positionX="-245" positionY="-324" width="128" height="193"/>
  296. <element name="Festival" positionX="-182" positionY="855" width="128" height="178"/>
  297. <element name="Festival_day" positionX="-497" positionY="1061" width="128" height="163"/>
  298. <element name="Festival_event_city" positionX="-380" positionY="446" width="128" height="313"/>
  299. <element name="Festival_event_gm" positionX="-711" positionY="731" width="128" height="313"/>
  300. <element name="Festival_event_image" positionX="-686" positionY="1143" width="128" height="88"/>
  301. <element name="Festival_offer" positionX="-342" positionY="962" width="128" height="208"/>
  302. <element name="Notification" positionX="-1098" positionY="803" width="128" height="223"/>
  303. <element name="People" positionX="-180" positionY="701" width="128" height="118"/>
  304. <element name="Photo" positionX="-155" positionY="99" width="128" height="283"/>
  305. <element name="Photo_album" positionX="-164" positionY="-63" width="128" height="103"/>
  306. <element name="Photo_comment" positionX="-9" positionY="164" width="128" height="148"/>
  307. <element name="Place" positionX="-803" positionY="216" width="128" height="178"/>
  308. <element name="Post" positionX="-945" positionY="-88" width="128" height="208"/>
  309. <element name="Post_comment" positionX="-794" positionY="-88" width="128" height="148"/>
  310. <element name="Post_image" positionX="-1107" positionY="-64" width="128" height="118"/>
  311. <element name="Post_tag" positionX="-945" positionY="-196" width="128" height="88"/>
  312. <element name="Route" positionX="-900" positionY="632" width="128" height="88"/>
  313. <element name="Route_point" positionX="-1098" positionY="315" width="128" height="223"/>
  314. <element name="Sponsor" positionX="-173" positionY="422" width="128" height="253"/>
  315. <element name="Version" positionX="-1089" positionY="603" width="128" height="73"/>
  316. </elements>
  317. </model>