// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNameLogOperate = "log_operate" // LogOperate mapped from table type LogOperate struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Context string `gorm:"column:context" json:"context"` // 日志内容 Appid int32 `gorm:"column:appid" json:"appid"` // 所属APP id Usrname string `gorm:"column:usrname" json:"usrname"` // 操作用户名 CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 操作时间 } // TableName LogOperate's table name func (*LogOperate) TableName() string { return TableNameLogOperate }