Blame view

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