chat_report_log.gen.go 2.1 KB

1234567891011121314151617181920212223242526272829
  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 TableNameChatReportLog = "chat_report_log"
  6. // ChatReportLog mapped from table <chat_report_log>
  7. type ChatReportLog struct {
  8. ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  9. PlayerID int64 `gorm:"column:player_id;not null;comment:举报者id" json:"player_id"` // 举报者id
  10. PlayerName string `gorm:"column:player_name;comment:举报者昵称" json:"player_name"` // 举报者昵称
  11. ServerID int32 `gorm:"column:server_id;not null;comment:举报者服务器id" json:"server_id"` // 举报者服务器id
  12. ClanChatID string `gorm:"column:clan_chat_id;not null;comment:违规的消息id" json:"clan_chat_id"` // 违规的消息id
  13. ClanPlayerID int64 `gorm:"column:clan_player_id;not null;comment:违规者id" json:"clan_player_id"` // 违规者id
  14. ClanPlayerName string `gorm:"column:clan_player_name;comment:违规者昵称" json:"clan_player_name"` // 违规者昵称
  15. ClanServerID int32 `gorm:"column:clan_server_id;not null;comment:违规者服务器id" json:"clan_server_id"` // 违规者服务器id
  16. ClanContent string `gorm:"column:clan_content;comment:违规消息内容" json:"clan_content"` // 违规消息内容
  17. ClanChatChannel int32 `gorm:"column:clan_chat_channel;not null;comment:频道类型" json:"clan_chat_channel"` // 频道类型
  18. LeagueCode string `gorm:"column:league_code;comment:联盟code" json:"league_code"` // 联盟code
  19. ClanTime int64 `gorm:"column:clan_time;not null;comment:违规时间(毫秒)" json:"clan_time"` // 违规时间(毫秒)
  20. CreateTime int64 `gorm:"column:create_time;not null;comment:上传时间(毫秒)" json:"create_time"` // 上传时间(毫秒)
  21. }
  22. // TableName ChatReportLog's table name
  23. func (*ChatReportLog) TableName() string {
  24. return TableNameChatReportLog
  25. }