cm_log.go 588 B

123456789101112
  1. package models
  2. type CmLog struct {
  3. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  4. Operator string `xorm:"comment('操作者') VARCHAR(32)"`
  5. CreateTime int `xorm:"comment('操作时间') INT(11)"`
  6. Controller string `xorm:"comment('操作的控制器名称') VARCHAR(32)"`
  7. Action string `xorm:"comment('操作的action名称') VARCHAR(32)"`
  8. Operation string `xorm:"comment('操作内容') VARCHAR(32)"`
  9. Type int `xorm:"comment('日志类型 1为操作日志') TINYINT(1)"`
  10. TargetId int `xorm:"comment('操作的id') INT(11)"`
  11. }