teacher.json 3.9 KB

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