grandmaster_match.gen.go 857 B

1234567891011121314151617181920
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. const TableNameGrandmasterMatch = "grandmaster_match"
  6. // GrandmasterMatch mapped from table <grandmaster_match>
  7. type GrandmasterMatch struct {
  8. ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
  9. Type int32 `gorm:"column:type;type:int(11);index:type,priority:1;default:1" json:"type"` // 1成功2失败
  10. Seconds int64 `gorm:"column:seconds;type:bigint(20)" json:"seconds"` // 匹配时长
  11. Times int64 `gorm:"column:times;type:bigint(20)" json:"times"` // 出现次数
  12. }
  13. // TableName GrandmasterMatch's table name
  14. func (*GrandmasterMatch) TableName() string {
  15. return TableNameGrandmasterMatch
  16. }