- add black user .

This commit is contained in:
gazebo
2018-07-02 13:37:52 +08:00
parent 28921345e8
commit b82729709d
5 changed files with 89 additions and 19 deletions

12
business/models/models.go Normal file
View File

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