123456789101112131415161718192021222324 |
- // 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 TableNameAdminBanUserLog = "admin_ban_user_log"
- // AdminBanUserLog mapped from table <admin_ban_user_log>
- type AdminBanUserLog struct {
- ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:自增id" json:"id"` // 自增id
- AdminID int32 `gorm:"column:admin_id;not null;comment:管理员id" json:"admin_id"` // 管理员id
- IP string `gorm:"column:ip;not null;comment:操作人员ip" json:"ip"` // 操作人员ip
- PlayerID int64 `gorm:"column:player_id;not null;uniqueIndex:user_type,priority:1;comment:玩家id" json:"player_id"` // 玩家id
- Type int32 `gorm:"column:type;not null;uniqueIndex:user_type,priority:2;comment:禁用类型 1 全服,2当前服,3 支付,4 聊天" json:"type"` // 禁用类型 1 全服,2当前服,3 支付,4 聊天
- Reason string `gorm:"column:reason;comment:原因" json:"reason"` // 原因
- CreateAt int32 `gorm:"column:create_at;not null;comment:创建时间" json:"create_at"` // 创建时间
- UpdateAt int32 `gorm:"column:update_at;not null;comment:修改时间" json:"update_at"` // 修改时间
- }
- // TableName AdminBanUserLog's table name
- func (*AdminBanUserLog) TableName() string {
- return TableNameAdminBanUserLog
- }
|