Files
jx-callback/business/model/model.go
gazebo b69bac1182 - use auto router for callback msg.
- first normal demo api FinishedPickup added.
2018-08-20 15:08:36 +08:00

30 lines
623 B
Go

package model
import "time"
type ModelO struct {
ID int `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt *time.Time `sql:"index"`
LastOperator string `gorm:"type:varchar(32)"` // 最后操作员
}
type ModelIDCU struct {
ID int `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
}
type ModelIDCUO struct {
ID int `gorm:"primary_key"`
CreatedAt time.Time
UpdatedAt time.Time
LastOperator string `gorm:"type:varchar(32)"` // 最后操作员
}
type CallResult struct {
Code int `json:"code"`
Result string `json:"result"`
}