student.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "table": {
  3. "id": 1,
  4. "scene" : 1,
  5. "parentMenuId" : 888,
  6. "tableName" : "infra_student",
  7. "tableComment" : "学生表",
  8. "moduleName" : "infra",
  9. "businessName" : "demo",
  10. "className" : "InfraStudent",
  11. "classComment" : "学生",
  12. "author" : "jt"
  13. },
  14. "columns": [ {
  15. "id" : 100,
  16. "columnName" : "id",
  17. "dataType" : "BIGINT",
  18. "columnComment" : "编号",
  19. "primaryKey" : true,
  20. "javaType" : "Long",
  21. "javaField" : "id",
  22. "example" : "1024",
  23. "updateOperation" : true,
  24. "listOperationResult" : true
  25. }, {
  26. "columnName" : "name",
  27. "dataType" : "VARCHAR",
  28. "columnComment" : "名字",
  29. "javaType" : "String",
  30. "javaField" : "name",
  31. "example" : "芋头",
  32. "createOperation" : true,
  33. "updateOperation" : true,
  34. "listOperation" : true,
  35. "listOperationCondition" : "LIKE",
  36. "listOperationResult" : true,
  37. "htmlType" : "input"
  38. }, {
  39. "columnName" : "description",
  40. "dataType" : "VARCHAR",
  41. "columnComment" : "简介",
  42. "javaType" : "String",
  43. "javaField" : "description",
  44. "example" : "我是介绍",
  45. "createOperation" : true,
  46. "updateOperation" : true,
  47. "listOperationResult" : true,
  48. "htmlType" : "textarea"
  49. }, {
  50. "columnName" : "birthday",
  51. "dataType" : "DATE",
  52. "columnComment" : "出生日期",
  53. "javaType" : "LocalDateTime",
  54. "javaField" : "birthday",
  55. "createOperation" : true,
  56. "updateOperation" : true,
  57. "listOperation" : true,
  58. "listOperationCondition" : "=",
  59. "listOperationResult" : true,
  60. "htmlType" : "datetime"
  61. }, {
  62. "columnName" : "sex",
  63. "dataType" : "INTEGER",
  64. "columnComment" : "性别",
  65. "javaType" : "Integer",
  66. "javaField" : "sex",
  67. "dictType" : "system_user_sex",
  68. "example" : "1",
  69. "createOperation" : true,
  70. "updateOperation" : true,
  71. "listOperation" : true,
  72. "listOperationCondition" : "=",
  73. "listOperationResult" : true,
  74. "htmlType" : "select"
  75. }, {
  76. "columnName" : "enabled",
  77. "dataType" : "BOOLEAN",
  78. "columnComment" : "是否有效",
  79. "javaType" : "Boolean",
  80. "javaField" : "enabled",
  81. "dictType" : "infra_boolean_string",
  82. "example" : "true",
  83. "createOperation" : true,
  84. "updateOperation" : true,
  85. "listOperation" : true,
  86. "listOperationCondition" : "=",
  87. "listOperationResult" : true,
  88. "htmlType" : "radio"
  89. }, {
  90. "columnName" : "avatar",
  91. "dataType" : "VARCHAR",
  92. "columnComment" : "头像",
  93. "javaType" : "String",
  94. "javaField" : "avatar",
  95. "example" : "https://www.iocoder.cn/1.png",
  96. "createOperation" : true,
  97. "updateOperation" : true,
  98. "listOperationResult" : true,
  99. "htmlType" : "imageUpload"
  100. }, {
  101. "columnName" : "video",
  102. "dataType" : "VARCHAR",
  103. "columnComment" : "附件",
  104. "javaType" : "String",
  105. "javaField" : "video",
  106. "example" : "https://www.iocoder.cn/1.mp4",
  107. "createOperation" : true,
  108. "updateOperation" : true,
  109. "listOperationResult" : true,
  110. "htmlType" : "fileUpload"
  111. }, {
  112. "columnName" : "memo",
  113. "dataType" : "VARCHAR",
  114. "columnComment" : "备注",
  115. "javaType" : "String",
  116. "javaField" : "memo",
  117. "example" : "我是备注",
  118. "createOperation" : true,
  119. "updateOperation" : true,
  120. "listOperationResult" : true,
  121. "htmlType" : "editor"
  122. }, {
  123. "columnName" : "create_time",
  124. "dataType" : "DATE",
  125. "columnComment" : "创建时间",
  126. "nullable" : true,
  127. "javaType" : "LocalDateTime",
  128. "javaField" : "createTime",
  129. "listOperation" : true,
  130. "listOperationCondition" : "BETWEEN",
  131. "listOperationResult" : true,
  132. "htmlType" : "datetime"
  133. } ]
  134. }