def.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. {
  2. "Columns":[
  3. {
  4. "Name":"Sign",
  5. "Multiplicity":"1",
  6. "Type":"Long"
  7. },
  8. {
  9. "Name":"Name",
  10. "Multiplicity":"1",
  11. "Type":"String(100)"
  12. },
  13. {
  14. "Name":"IsHotel",
  15. "Multiplicity":"1",
  16. "Type":"Boolean"
  17. },
  18. {
  19. "Name":"Height",
  20. "Multiplicity":"1",
  21. "Type":"Double"
  22. },
  23. {
  24. "Name":"BuildTime",
  25. "Multiplicity":"1",
  26. "Type":"DateTime"
  27. },
  28. {
  29. "Name":"m01",
  30. "Multiplicity":"0..1",
  31. "Type":"Long"
  32. },
  33. {
  34. "Name":"m0n",
  35. "Multiplicity":"0..n",
  36. "Type":"Long"
  37. },
  38. {
  39. "Name":"desc",
  40. "Multiplicity":"1",
  41. "Type":{
  42. "Columns":[
  43. {
  44. "Name":"HVACType",
  45. "Multiplicity":"1",
  46. "Type":"String"
  47. },
  48. {
  49. "Name":"HeatingType",
  50. "Multiplicity":"1",
  51. "Type":"String"
  52. },
  53. {
  54. "Name":"OtherInfo",
  55. "Multiplicity":"0..n",
  56. "Type":{
  57. "Columns":[
  58. {
  59. "Name":"InfoName",
  60. "Multiplicity":"1",
  61. "Type":"String"
  62. },
  63. {
  64. "Name":"InfoContent",
  65. "Multiplicity":"1",
  66. "Type":"String"
  67. }
  68. ],
  69. "Key":[
  70. "InfoName"
  71. ],
  72. "Indexes":[
  73. {
  74. "Name":"index_1",
  75. "Columns":[
  76. "InfoName"
  77. ]
  78. }
  79. ]
  80. }
  81. }
  82. ],
  83. "Key":[
  84. ],
  85. "Indexes":[
  86. ]
  87. }
  88. },
  89. {
  90. "Name":"contacts",
  91. "Multiplicity":"0..n",
  92. "Type":{
  93. "Columns":[
  94. {
  95. "Name":"ContactID",
  96. "Multiplicity":"1",
  97. "Type":"String"
  98. },
  99. {
  100. "Name":"ContactName",
  101. "Multiplicity":"1",
  102. "Type":"String"
  103. },
  104. {
  105. "Name":"ContactAddress",
  106. "Multiplicity":"1",
  107. "Type":{
  108. "Columns":[
  109. {
  110. "Name":"City",
  111. "Multiplicity":"1",
  112. "Type":"String"
  113. },
  114. {
  115. "Name":"Street",
  116. "Multiplicity":"1",
  117. "Type":"String"
  118. }
  119. ],
  120. "Key":[
  121. ],
  122. "Indexes":[
  123. ]
  124. }
  125. },
  126. {
  127. "Name":"BankCard",
  128. "Multiplicity":"0..n",
  129. "Type":{
  130. "Columns":[
  131. {
  132. "Name":"CardNumber",
  133. "Multiplicity":"1",
  134. "Type":"String"
  135. },
  136. {
  137. "Name":"BankName",
  138. "Multiplicity":"1",
  139. "Type":"String"
  140. }
  141. ],
  142. "Key":[
  143. "CardNumber"
  144. ],
  145. "Indexes":[
  146. {
  147. "Name":"index_1",
  148. "Columns":[
  149. "CardNumber"
  150. ]
  151. }
  152. ]
  153. }
  154. }
  155. ],
  156. "Key":[
  157. "ContactID"
  158. ],
  159. "Indexes":[
  160. {
  161. "Name":"index_1",
  162. "Columns":[
  163. "ContactName"
  164. ]
  165. }
  166. ]
  167. }
  168. }
  169. ],
  170. "Key":[
  171. "Sign"
  172. ],
  173. "Indexes":[
  174. {
  175. "Name":"index_1",
  176. "Columns":[
  177. "Name"
  178. ]
  179. },
  180. {
  181. "Name":"index_2",
  182. "Columns":[
  183. "Name",
  184. "Height"
  185. ]
  186. }
  187. ]
  188. }