代码拉取完成,页面将自动刷新
package schema
import "gitee.com/linqwen/momo/base"
type AccessCreateDTO struct {
Id string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
UserId string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
Access int `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
Count int `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
Status int `gorm:"column:status;type:int" json:"Status"`
}
type AccessQueryDTO struct {
Id string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
UserId string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
Access int `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
Ip string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
Count int `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
Status int `gorm:"column:status;type:int" json:"Status"`
CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
}
type AccessVO struct {
Id string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
UserId string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
Path string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
Access int `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
Ip string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
Count int `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
Status int `gorm:"column:status;type:int" json:"Status"`
CreatedAt base.ISO8601Time
UpdatedAt base.ISO8601Time
}
func (c AccessVO) GetListVO() interface{} { return c }
func (c AccessVO) GetDetailVO() interface{} { return c }
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。