player_mailbox.gen.go 704 B

12345678910111213141516171819
  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 TableNamePlayerMailbox = "player_mailbox"
  6. // PlayerMailbox mapped from table <player_mailbox>
  7. type PlayerMailbox struct {
  8. ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
  9. PlayerID int64 `gorm:"column:playerId;type:bigint(20);index:IDX_player_mailbox_playerId,priority:1" json:"playerId"`
  10. LastGlobalID int32 `gorm:"column:lastGlobalId;type:int(11)" json:"lastGlobalId"`
  11. }
  12. // TableName PlayerMailbox's table name
  13. func (*PlayerMailbox) TableName() string {
  14. return TableNamePlayerMailbox
  15. }