SHARE
TWEET

Untitled

a guest Aug 25th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <model>
  3.     <entity name="Article" representedClassName="Article" parentEntity="Publication" syncable="YES" codeGenerationType="class">
  4.         <attribute name="text" optional="YES" attributeType="String"/>
  5.     </entity>
  6.     <entity name="Author" representedClassName="Author" syncable="YES" codeGenerationType="class">
  7.         <attribute name="fullName" optional="YES" attributeType="String"/>
  8.         <relationship name="publications" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Publication" inverseName="author" inverseEntity="Publication"/>
  9.     </entity>
  10.     <entity name="Publication" representedClassName="Publication" isAbstract="YES" syncable="YES" codeGenerationType="class">
  11.         <attribute name="numberOfViews" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
  12.         <attribute name="publishDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
  13.         <relationship name="author" optional="YES" maxCount="1" deletionRule="No Action" destinationEntity="Author" inverseName="publications" inverseEntity="Author"/>
  14.     </entity>
  15. </model>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top