Files
jx-callback/business/model/legacymodel/blackclient.go
gazebo d7de24715b - remove useless legacy codes.
- refactor models
2018-10-16 10:47:44 +08:00

13 lines
345 B
Go

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"`
}