relation_data_depart.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "desc":"内置隐藏数据源",
  3. "id":"data-4XSMGXTCS",
  4. "isNewDataSource":1,
  5. "methods":[],
  6. "name":"relation_data_depart",
  7. "pkgId":"honghgaier-5guiffgcf17a2eea",
  8. "schema":{
  9. "x-primary-column":"_id",
  10. "x-kind":"tcb",
  11. "name":"relation_data_depart",
  12. "x-defaultMethods":[
  13. "wedaCreate",
  14. "wedaUpdate",
  15. "wedaDelete",
  16. "wedaGetItem",
  17. "wedaGetRecords",
  18. "wedaGetList",
  19. "wedaBatchCreate",
  20. "wedaBatchUpdate",
  21. "wedaBatchDelete"
  22. ],
  23. "type":"object",
  24. "title":"数据部门-关联数据源",
  25. "x-relatedType":"exist",
  26. "x-viewId":"view-76d2n0u3y8",
  27. "properties":{
  28. "owner":{
  29. "default":"",
  30. "x-system":true,
  31. "x-id":"23e20bb",
  32. "name":"owner",
  33. "format":"father-son",
  34. "pattern":"",
  35. "x-hidden":true,
  36. "x-index":16,
  37. "title":"所有人",
  38. "type":"string",
  39. "x-unique":false,
  40. "x-parent":{
  41. "fatherAction":"judge",
  42. "type":"father-son",
  43. "parentDataSourceName":"sys_user"
  44. }
  45. },
  46. "rightRecordId":{
  47. "x-required":false,
  48. "x-keyPath":"",
  49. "x-id":"a70d568",
  50. "format":"",
  51. "x-index":14,
  52. "title":"目标数据Id",
  53. "type":"string",
  54. "x-unique":false
  55. },
  56. "_mainDep":{
  57. "x-system":true,
  58. "x-id":"4ea5a70",
  59. "format":"father-son",
  60. "name":"_mainDep",
  61. "x-hidden":true,
  62. "title":"所属主管部门",
  63. "type":"string",
  64. "x-index":17,
  65. "x-unique":false,
  66. "x-parent":{
  67. "fatherAction":"judge",
  68. "type":"father-son",
  69. "parentDataSourceName":"sys_department"
  70. }
  71. },
  72. "createdAt":{
  73. "default":0,
  74. "x-system":true,
  75. "x-id":"1863632",
  76. "format":"datetime",
  77. "x-index":18,
  78. "type":"number",
  79. "title":"创建时间",
  80. "x-unique":false
  81. },
  82. "createBy":{
  83. "default":"",
  84. "x-system":true,
  85. "x-id":"6a2d9fa",
  86. "name":"createBy",
  87. "format":"father-son",
  88. "pattern":"",
  89. "x-hidden":true,
  90. "x-index":19,
  91. "type":"string",
  92. "title":"创建人",
  93. "x-unique":false,
  94. "x-parent":{
  95. "fatherAction":"judge",
  96. "type":"father-son",
  97. "parentDataSourceName":"sys_user"
  98. }
  99. },
  100. "updateBy":{
  101. "default":"",
  102. "x-system":true,
  103. "x-id":"93a079a",
  104. "name":"updateBy",
  105. "format":"father-son",
  106. "pattern":"",
  107. "x-hidden":true,
  108. "x-index":20,
  109. "type":"string",
  110. "title":"修改人",
  111. "x-unique":false,
  112. "x-parent":{
  113. "fatherAction":"judge",
  114. "type":"father-son",
  115. "parentDataSourceName":"sys_user"
  116. }
  117. },
  118. "leftCollectionName":{
  119. "x-required":false,
  120. "x-keyPath":"",
  121. "x-id":"8d41f98",
  122. "format":"",
  123. "x-index":8,
  124. "title":"源数据源id",
  125. "type":"string",
  126. "x-unique":false
  127. },
  128. "_openid":{
  129. "default":"",
  130. "x-system":true,
  131. "x-id":"9427c48",
  132. "name":"_openid",
  133. "format":"",
  134. "pattern":"",
  135. "description":"仅微信云开发下使用",
  136. "x-index":21,
  137. "title":"记录创建者",
  138. "type":"string",
  139. "x-unique":false
  140. },
  141. "_id":{
  142. "x-system":true,
  143. "x-id":"d1658d8",
  144. "format":"",
  145. "x-index":22,
  146. "type":"string",
  147. "title":"数据标识",
  148. "x-unique":true
  149. },
  150. "leftRecordId":{
  151. "x-required":false,
  152. "x-keyPath":"",
  153. "x-id":"8841f75",
  154. "format":"",
  155. "x-index":10,
  156. "title":"源数据Id",
  157. "type":"string",
  158. "x-unique":false
  159. },
  160. "rightCollectionName":{
  161. "x-required":false,
  162. "x-keyPath":"",
  163. "x-id":"8e7c7e4",
  164. "format":"",
  165. "x-index":12,
  166. "title":"目标数据源Id",
  167. "type":"string",
  168. "x-unique":false
  169. },
  170. "updatedAt":{
  171. "default":0,
  172. "x-system":true,
  173. "x-id":"f9c7c5d",
  174. "format":"datetime",
  175. "x-index":23,
  176. "title":"更新时间",
  177. "type":"number",
  178. "x-unique":false
  179. }
  180. },
  181. "required":[]
  182. },
  183. "templateCode":"",
  184. "title":"数据部门",
  185. "type":"database"
  186. }