将 LocalDateTime 迁移到 orm

This commit is contained in:
2025-05-10 15:00:03 +08:00
parent 3140d35a95
commit 37e6e58816
39 changed files with 414 additions and 425 deletions

View File

@@ -34,7 +34,7 @@ func main() {
common := []gen.ModelOpt{
gen.FieldModify(func(field gen.Field) gen.Field {
if field.Type == "time.Time" {
field.Type = "core.LocalDateTime"
field.Type = "orm.LocalDateTime"
}
return field
}),