任务三

This commit is contained in:
Yvan
2026-01-07 14:34:18 +08:00
parent 8eeda7736e
commit 1a06053b30
38 changed files with 2107 additions and 405 deletions
+1 -1
View File
@@ -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,