mini_page_component.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. kind: DataContainer
  2. spec:
  3. namespace: ecos
  4. data_source: ecos
  5. name: ecos.mini_page_components
  6. spec:
  7. table_name: ecos.mini_page_components
  8. columns:
  9. - name: id
  10. type: "varchar(32)"
  11. comment: id
  12. primary_key: true
  13. - name: page_id
  14. type: "varchar(32)"
  15. comment: 页面ID
  16. not_null: true
  17. index: true
  18. - name: component_type_id
  19. type: "varchar(32)"
  20. comment: 组件类型ID
  21. not_null: true
  22. index: true
  23. - name: type_name
  24. type: "varchar(100)"
  25. comment: 组件类型名称
  26. not_null: true
  27. index: true
  28. - name: component_config
  29. type: "text"
  30. comment: 组件配置数据
  31. not_null: true
  32. index: true
  33. - name: sort_order
  34. type: "integer"
  35. comment: 排序
  36. not_null: true
  37. index: true
  38. - name: is_enabled
  39. type: "varchar(10)"
  40. comment: 是否启用
  41. not_null: true
  42. index: true
  43. - name: tenant_id
  44. type: "varchar(32)"
  45. comment: 租户ID
  46. not_null: true
  47. index: true
  48. - name: create_user_id
  49. type: "varchar(32)"
  50. comment: 创建者ID
  51. not_null: true
  52. index: true
  53. - name: last_update_user_id
  54. type: "varchar(32)"
  55. comment: 最后修改者ID
  56. not_null: true
  57. index: true
  58. - name: created_time
  59. type: "timestamp with time zone"
  60. comment: 创建时间
  61. not_null: true
  62. - name: last_updated_time
  63. type: "timestamp with time zone"
  64. comment: 最近更新时间
  65. not_null: true
  66. # HAC: DB TABLE MINIPAGECOMPONENT RELATION COLUMNS #
  67. # HAC: END DB TABLE MINIPAGECOMPONENT RELATION COLUMNS #