// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

const TableNamePlayerMaterial = "player_material"

// PlayerMaterial mapped from table <player_material>
type PlayerMaterial struct {
	ID            int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	Playerid      int64  `gorm:"column:playerid;type:bigint(20);index:IDX_player_material_playerid,priority:1" json:"playerid"`
	Coin          int64  `gorm:"column:coin;type:bigint(20)" json:"coin"`
	Diamond       int32  `gorm:"column:diamond;type:int(11)" json:"diamond"`
	PayCount      int32  `gorm:"column:payCount;type:int(11)" json:"payCount"`
	Equipments    string `gorm:"column:equipments;type:text" json:"equipments"`
	FastEquips    string `gorm:"column:fastEquips;type:text" json:"fastEquips"`
	Materials     string `gorm:"column:materials;type:text" json:"materials"`
	Roles         string `gorm:"column:roles;type:text" json:"roles"`
	Talents       string `gorm:"column:talents;type:text" json:"talents"`
	PassRoom      string `gorm:"column:passRoom;type:text" json:"passRoom"`
	RoleRes       string `gorm:"column:roleRes;type:text" json:"roleRes"`
	BuffMaterials string `gorm:"column:buffMaterials;type:text" json:"buffMaterials"`
	AdLimit       string `gorm:"column:adLimit;type:text" json:"adLimit"`
	Body          string `gorm:"column:body;type:text" json:"body"`
	BroadTrigger  string `gorm:"column:broadTrigger;type:text" json:"broadTrigger"`
	Treasures     string `gorm:"column:treasures;type:text" json:"treasures"`
	RoleCollocate string `gorm:"column:roleCollocate;type:text" json:"roleCollocate"`
	PaySwitch     int32  `gorm:"column:paySwitch;type:int(11)" json:"paySwitch"`
	EquipHistory  string `gorm:"column:equipHistory;type:text" json:"equipHistory"`
}

// TableName PlayerMaterial's table name
func (*PlayerMaterial) TableName() string {
	return TableNamePlayerMaterial
}
