player_material.gen.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  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 TableNamePlayerMaterial = "player_material"
  6. // PlayerMaterial mapped from table <player_material>
  7. type PlayerMaterial 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_material_playerid,priority:1" json:"playerid"`
  10. Coin int64 `gorm:"column:coin;type:bigint(20)" json:"coin"`
  11. Diamond int32 `gorm:"column:diamond;type:int(11)" json:"diamond"`
  12. PayCount int32 `gorm:"column:payCount;type:int(11)" json:"payCount"`
  13. Equipments string `gorm:"column:equipments;type:text" json:"equipments"`
  14. FastEquips string `gorm:"column:fastEquips;type:text" json:"fastEquips"`
  15. Materials string `gorm:"column:materials;type:text" json:"materials"`
  16. Roles string `gorm:"column:roles;type:text" json:"roles"`
  17. Talents string `gorm:"column:talents;type:text" json:"talents"`
  18. PassRoom string `gorm:"column:passRoom;type:text" json:"passRoom"`
  19. RoleRes string `gorm:"column:roleRes;type:text" json:"roleRes"`
  20. BuffMaterials string `gorm:"column:buffMaterials;type:text" json:"buffMaterials"`
  21. AdLimit string `gorm:"column:adLimit;type:text" json:"adLimit"`
  22. Body string `gorm:"column:body;type:text" json:"body"`
  23. BroadTrigger string `gorm:"column:broadTrigger;type:text" json:"broadTrigger"`
  24. Treasures string `gorm:"column:treasures;type:text" json:"treasures"`
  25. RoleCollocate string `gorm:"column:roleCollocate;type:text" json:"roleCollocate"`
  26. PaySwitch int32 `gorm:"column:paySwitch;type:int(11)" json:"paySwitch"`
  27. EquipHistory string `gorm:"column:equipHistory;type:text" json:"equipHistory"`
  28. }
  29. // TableName PlayerMaterial's table name
  30. func (*PlayerMaterial) TableName() string {
  31. return TableNamePlayerMaterial
  32. }