player_patrol.gen.go 1.0 KB

12345678910111213141516171819202122232425
  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 TableNamePlayerPatrol = "player_patrol"
  6. // PlayerPatrol mapped from table <player_patrol>
  7. type PlayerPatrol struct {
  8. Playerid int64 `gorm:"column:playerid;type:bigint(20);primaryKey" json:"playerid"`
  9. Level int32 `gorm:"column:level;type:int(11)" json:"level"`
  10. Materials string `gorm:"column:materials;type:text" json:"materials"`
  11. Equipments string `gorm:"column:equipments;type:text" json:"equipments"`
  12. CalcItems string `gorm:"column:calcItems;type:text" json:"calcItems"`
  13. StartTick int64 `gorm:"column:startTick;type:bigint(20)" json:"startTick"`
  14. TimeLen int64 `gorm:"column:timeLen;type:bigint(20)" json:"timeLen"`
  15. MaxTimeLen int64 `gorm:"column:maxTimeLen;type:bigint(20)" json:"maxTimeLen"`
  16. DayCount int32 `gorm:"column:dayCount;type:int(11)" json:"dayCount"`
  17. }
  18. // TableName PlayerPatrol's table name
  19. func (*PlayerPatrol) TableName() string {
  20. return TableNamePlayerPatrol
  21. }