删除修改

This commit is contained in:
苏尹岚
2020-10-12 17:01:08 +08:00
parent 20fcc857d5
commit 52b0778d59
9 changed files with 61 additions and 252 deletions

View File

@@ -1,12 +0,0 @@
package legacymodel
import "time"
type BlackClient struct {
ID int `orm:"column(id)"`
Mobile string `orm:"size(16);unique"`
Name string `orm:"size(8)"`
Note string `orm:"size(256)"`
CreatedAt time.Time `orm:"auto_now_add;type(datetime);null"`
UpdatedAt time.Time `orm:"auto_now;type(datetime);null"`
}