go-common/app/admin/main/member/model/monitor.go

20 lines
571 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
import (
xtime "go-common/library/time"
)
// Monitor is.
type Monitor struct {
ID int64 `json:"id" gorm:"column:id"`
Mid int64 `json:"mid" gorm:"column:mid"`
Operator string `json:"operator" gorm:"column:operator"`
Remark string `json:"remark" gorm:"column:remark"`
CTime xtime.Time `json:"ctime" gorm:"column:ctime"`
MTime xtime.Time `json:"mtime" gorm:"column:mtime"`
IsDeleted bool `json:"is_deleted" gorm:"column:is_deleted"`
// 昵称,后期拼进来
Name string `json:"name" gorm:"-"`
}