buy_stamina.gen.go 723 B

1234567891011121314151617181920
  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 TableNameBuyStamina = "buy_stamina"
  6. // BuyStamina mapped from table <buy_stamina>
  7. type BuyStamina 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_buy_stamina_playerid,priority:1" json:"playerid"`
  10. Stamina string `gorm:"column:stamina;type:text" json:"stamina"`
  11. AllGoods string `gorm:"column:allGoods;type:text" json:"allGoods"`
  12. }
  13. // TableName BuyStamina's table name
  14. func (*BuyStamina) TableName() string {
  15. return TableNameBuyStamina
  16. }