package models import ( "time" ) type TJoinAppAccessLog struct { Id int64 `xorm:"not null pk autoincr comment('主键') INT(11)"` AppId int64 `xorm:"not null comment('第三方接入系统ID') index INT(11)"` ActionCode string `xorm:"not null comment('行为代码') VARCHAR(255)"` Parameter string `xorm:"not null comment('参数') VARCHAR(255)"` Success int64 `xorm:"not null comment('是否执行成功') INT(255)"` LastUpdatedTime time.Time `xorm:"not null default 'current_timestamp()' comment('最后更新时间') TIMESTAMP"` }