// 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 const TableNamePlayerBanLog = "player_ban_logs" // PlayerBanLog mapped from table type PlayerBanLog struct { ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"` ServerID int32 `gorm:"column:server_id;type:int(11)" json:"server_id"` Playerid int64 `gorm:"column:playerid;type:bigint(20);not null;index:playerid,priority:1" json:"playerid"` // 用户ID AccID int64 `gorm:"column:acc_id;type:bigint(20);not null" json:"acc_id"` Ban int32 `gorm:"column:ban;type:int(11)" json:"ban"` Reason string `gorm:"column:reason;type:varchar(255)" json:"reason"` // 拉黑原因 Time int32 `gorm:"column:time;type:int(11);not null" json:"time"` } // TableName PlayerBanLog's table name func (*PlayerBanLog) TableName() string { return TableNamePlayerBanLog }