contents 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19E287" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
  3. <entity name="ConstEntity" representedClassName="ConstEntity" syncable="YES">
  4. <attribute name="constkey" attributeType="String"/>
  5. <attribute name="remarks" attributeType="String"/>
  6. </entity>
  7. <entity name="ErrorEntity" representedClassName="ErrorEntity" syncable="YES">
  8. <attribute name="constkey" attributeType="String"/>
  9. <attribute name="remarks" attributeType="String"/>
  10. </entity>
  11. <entity name="GoodsInfoEntity" representedClassName="GoodsInfoEntity" syncable="YES" codeGenerationType="class">
  12. <attribute name="agreeUnit" optional="YES" attributeType="Double" defaultValueString="0" usesScalarValueType="YES"/>
  13. <attribute name="beginDate" optional="YES" attributeType="String"/>
  14. <attribute name="cdownpricegear" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  15. <attribute name="cuppricegear" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  16. <attribute name="currency" optional="YES" attributeType="String"/>
  17. <attribute name="decimalPlace" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  18. <attribute name="delistingMode" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  19. <attribute name="deliveryFlag" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  20. <attribute name="deliveryGoodsCode" optional="YES" attributeType="String"/>
  21. <attribute name="deliveryGoodsId" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  22. <attribute name="deliveryGoodsName" optional="YES" attributeType="String"/>
  23. <attribute name="deliveryGoodsUnit" optional="YES" attributeType="String"/>
  24. <attribute name="deliverymode" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  25. <attribute name="deliveryPriceRule" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  26. <attribute name="endDate" optional="YES" attributeType="String"/>
  27. <attribute name="expirecycle" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  28. <attribute name="expiredate" optional="YES" attributeType="String"/>
  29. <attribute name="expiretype" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  30. <attribute name="goodsCode" optional="YES" attributeType="String"/>
  31. <attribute name="goodsId" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  32. <attribute name="goodsName" optional="YES" attributeType="String"/>
  33. <attribute name="goodsStatus" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  34. <attribute name="goodsUnit" optional="YES" attributeType="String"/>
  35. <attribute name="groupID" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  36. <attribute name="isBuyLimited" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  37. <attribute name="lastTradeDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
  38. <attribute name="listingDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
  39. <attribute name="lotSize" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  40. <attribute name="marketID" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  41. <attribute name="minDeliveryQty" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  42. <attribute name="optiontype" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  43. <attribute name="p1Type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  44. <attribute name="p1value" optional="YES" attributeType="Double" defaultValueString="0" usesScalarValueType="YES"/>
  45. <attribute name="p2Type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  46. <attribute name="p2value" optional="YES" attributeType="Double" defaultValueString="0.0" usesScalarValueType="YES"/>
  47. <attribute name="pDeliveryRatio1" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  48. <attribute name="pDeliveryRatio2" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  49. <attribute name="pdownpricegear" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  50. <attribute name="performancemode" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  51. <attribute name="pGoodsID1" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  52. <attribute name="pGoodsID2" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  53. <attribute name="premiumAutoMode" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  54. <attribute name="premiumAutoValue" optional="YES" attributeType="Double" defaultValueString="0" usesScalarValueType="YES"/>
  55. <attribute name="pricefator" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  56. <attribute name="puppricegear" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  57. <attribute name="quoteMinUnit" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
  58. <attribute name="rratio" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  59. <attribute name="searchCondition" optional="YES" attributeType="String"/>
  60. <attribute name="stepvalue" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  61. <attribute name="xDeliveryRatio" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  62. </entity>
  63. <entity name="NoticeEntity" representedClassName="NoticeEntity" syncable="YES">
  64. <attribute name="accountId" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
  65. <attribute name="noticeContent" optional="YES" attributeType="String"/>
  66. <attribute name="noticeId" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
  67. <attribute name="noticeTime" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
  68. <attribute name="noticeTitle" optional="YES" attributeType="String"/>
  69. <attribute name="noticeType" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  70. <attribute name="read" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  71. </entity>
  72. <entity name="SelfEntity" representedClassName="SelfEntity" syncable="YES">
  73. <attribute name="createTime" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
  74. <attribute name="goodsID" attributeType="Integer 64" usesScalarValueType="YES"/>
  75. <attribute name="marketID" attributeType="Integer 64" usesScalarValueType="YES"/>
  76. <relationship name="inUserEntity" maxCount="1" deletionRule="Nullify" destinationEntity="UserEntity" inverseName="selfGoods" inverseEntity="UserEntity"/>
  77. </entity>
  78. <entity name="UserEntity" representedClassName="UserEntity" syncable="YES">
  79. <attribute name="loginDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
  80. <attribute name="loginID" attributeType="String"/>
  81. <attribute name="type" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
  82. <attribute name="userID" attributeType="Integer 64" usesScalarValueType="YES"/>
  83. <relationship name="selfGoods" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="SelfEntity" inverseName="inUserEntity" inverseEntity="SelfEntity"/>
  84. </entity>
  85. <elements>
  86. <element name="ConstEntity" positionX="225.1796875" positionY="26.47265625" width="128" height="75"/>
  87. <element name="ErrorEntity" positionX="7.6875" positionY="21.8671875" width="128" height="75"/>
  88. <element name="GoodsInfoEntity" positionX="135" positionY="162" width="128" height="793"/>
  89. <element name="NoticeEntity" positionX="416.56640625" positionY="7.31640625" width="128" height="148"/>
  90. <element name="SelfEntity" positionX="-50.28515625" positionY="148.44140625" width="128" height="105"/>
  91. <element name="UserEntity" positionX="-58.19921875" positionY="398.27734375" width="128" height="120"/>
  92. </elements>
  93. </model>