- add Updatetime in JxBadComments

This commit is contained in:
gazebo
2019-02-19 10:28:55 +08:00
parent 9b9cade4ab
commit 61b542a822
4 changed files with 46 additions and 20 deletions

View File

@@ -45,7 +45,7 @@ const (
)
type ModelIDCUL struct {
ID int `orm:"column(id)" json:"id"`
ID int64 `orm:"column(id)" json:"id"`
CreatedAt time.Time `orm:"auto_now_add;type(datetime)" json:"createdAt"`
UpdatedAt time.Time `orm:"auto_now;type(datetime)" json:"updatedAt"`
LastOperator string `orm:"size(32)" json:"lastOperator"` // 最后操作员