feat: deleted at 增加软删支持

This commit is contained in:
陈朱衡
2022-03-22 19:15:30 +08:00
parent 0b59ec2a6c
commit f015601f3d

View File

@@ -181,7 +181,7 @@ func getGormModelElement() []EmInfo {
result = append(result, EmInfo{
IsMulti: false,
Notes: "deleted time",
Type: "time.Time", // Type.类型标记
Type: "gorm.DeletedAt", // Type.类型标记
ColName: "deleted_at",
ColNameEx: "deleted_at",
ColStructName: "DeletedAt",