migrate 优化migrate

This commit is contained in:
linwenxiang
2021-04-23 14:25:31 +08:00
parent e40047a88e
commit 1a111f0666
49 changed files with 677 additions and 202 deletions
+11
View File
@@ -0,0 +1,11 @@
package models
import (
"time"
)
type BaseModel struct {
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt *time.Time `json:"deletedAt"`
}