feat: model type change

This commit is contained in:
zhangwenjian committed 2020-07-10 00:17:01 +08:00
1 parent 84a78d7b4f
commit 02cc68daea
20 files changed
+286 -257

No files matched your search

+1 -1
View File
@@ -7,5 +7,5 @@ import (
type BaseModel struct {
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt *time.Time `sql:"index" json:"deletedAt"`
DeletedAt *time.Time `json:"deletedAt"`
}