任务三
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ func main() {
|
||||
OutPath: filepath.Join(projectRoot, "internal/data/query"),
|
||||
ModelPkgPath: filepath.Join(projectRoot, "internal/data/model"),
|
||||
Mode: gen.WithDefaultQuery | gen.WithQueryInterface,
|
||||
FieldNullable: true,
|
||||
FieldNullable: false, // 非NULL字段生成为值类型
|
||||
FieldCoverable: false,
|
||||
FieldSignable: false,
|
||||
FieldWithIndexTag: true,
|
||||
|
||||
Reference in New Issue
Block a user