- add black user .
This commit is contained in:
12
business/models/models.go
Normal file
12
business/models/models.go
Normal 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)`
|
||||
}
|
||||
Reference in New Issue
Block a user