model

package
v0.0.0-...-24e25d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Create action when record is created
	Create = Action(0)

	// RetrieveOne action when a record is retrieved from db
	RetrieveOne = Action(1)

	// RetrieveMany action when record(s) are retrieved from db
	RetrieveMany = Action(2)

	// Update action when record is updated in db
	Update = Action(3)

	// Delete action when record is deleted in db
	Delete = Action(4)

	// FetchDDL action when fetching ddl info from db
	FetchDDL = Action(5)
)

Functions

This section is empty.

Types

type AaAbility

type AaAbility struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] name                                           text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Name string `gorm:"column:name;type:text;size:65535;" json:"name"`
	//[ 2] category                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Category int32 `gorm:"column:category;type:int;default:-1;" json:"category"`
	//[ 3] classes                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [131070]
	Classes int32 `gorm:"column:classes;type:int;default:131070;" json:"classes"`
	//[ 4] races                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [65535]
	Races int32 `gorm:"column:races;type:int;default:65535;" json:"races"`
	//[ 5] drakkin_heritage                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [127]
	DrakkinHeritage int32 `gorm:"column:drakkin_heritage;type:int;default:127;" json:"drakkin_heritage"`
	//[ 6] deities                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [131071]
	Deities int32 `gorm:"column:deities;type:int;default:131071;" json:"deities"`
	//[ 7] status                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Status int32 `gorm:"column:status;type:int;default:0;" json:"status"`
	//[ 8] type                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Type int32 `gorm:"column:type;type:int;default:0;" json:"type"`
	//[ 9] charges                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Charges int32 `gorm:"column:charges;type:int;default:0;" json:"charges"`
	//[10] grant_only                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	GrantOnly int32 `gorm:"column:grant_only;type:tinyint;default:0;" json:"grant_only"`
	//[11] first_rank_id                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	FirstRankID int32 `gorm:"column:first_rank_id;type:int;default:-1;" json:"first_rank_id"`
	//[12] enabled                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Enabled uint32 `gorm:"column:enabled;type:utinyint;default:1;" json:"enabled"`
	//[13] reset_on_death                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	ResetOnDeath int32 `gorm:"column:reset_on_death;type:tinyint;default:0;" json:"reset_on_death"`
}

AaAbility struct is a row record of the aa_ability table in the eqemu database

func (*AaAbility) BeforeSave

func (a *AaAbility) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AaAbility) Prepare

func (a *AaAbility) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AaAbility) TableInfo

func (a *AaAbility) TableInfo() *TableInfo

TableInfo return table meta data

func (*AaAbility) TableName

func (a *AaAbility) TableName() string

TableName sets the insert table name for this struct type

func (*AaAbility) Validate

func (a *AaAbility) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AaRankEffects

type AaRankEffects struct {
	//[ 0] rank_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	RankID uint32 `gorm:"primary_key;column:rank_id;type:uint;" json:"rank_id"`
	//[ 1] slot                                           uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [1]
	Slot uint32 `gorm:"primary_key;column:slot;type:uint;default:1;" json:"slot"`
	//[ 2] effect_id                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectID int32 `gorm:"column:effect_id;type:int;default:0;" json:"effect_id"`
	//[ 3] base1                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Base1 int32 `gorm:"column:base1;type:int;default:0;" json:"base_1"`
	//[ 4] base2                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Base2 int32 `gorm:"column:base2;type:int;default:0;" json:"base_2"`
}

AaRankEffects struct is a row record of the aa_rank_effects table in the eqemu database

func (*AaRankEffects) BeforeSave

func (a *AaRankEffects) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AaRankEffects) Prepare

func (a *AaRankEffects) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AaRankEffects) TableInfo

func (a *AaRankEffects) TableInfo() *TableInfo

TableInfo return table meta data

func (*AaRankEffects) TableName

func (a *AaRankEffects) TableName() string

TableName sets the insert table name for this struct type

func (*AaRankEffects) Validate

func (a *AaRankEffects) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AaRankPrereqs

type AaRankPrereqs struct {
	//[ 0] rank_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	RankID uint32 `gorm:"primary_key;column:rank_id;type:uint;" json:"rank_id"`
	//[ 1] aa_id                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	AaID int32 `gorm:"primary_key;column:aa_id;type:int;" json:"aa_id"`
	//[ 2] points                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	Points int32 `gorm:"column:points;type:int;" json:"points"`
}

AaRankPrereqs struct is a row record of the aa_rank_prereqs table in the eqemu database

func (*AaRankPrereqs) BeforeSave

func (a *AaRankPrereqs) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AaRankPrereqs) Prepare

func (a *AaRankPrereqs) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AaRankPrereqs) TableInfo

func (a *AaRankPrereqs) TableInfo() *TableInfo

TableInfo return table meta data

func (*AaRankPrereqs) TableName

func (a *AaRankPrereqs) TableName() string

TableName sets the insert table name for this struct type

func (*AaRankPrereqs) Validate

func (a *AaRankPrereqs) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AaRanks

type AaRanks struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] upper_hotkey_sid                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	UpperHotkeySid int32 `gorm:"column:upper_hotkey_sid;type:int;default:-1;" json:"upper_hotkey_sid"`
	//[ 2] lower_hotkey_sid                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	LowerHotkeySid int32 `gorm:"column:lower_hotkey_sid;type:int;default:-1;" json:"lower_hotkey_sid"`
	//[ 3] title_sid                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	TitleSid int32 `gorm:"column:title_sid;type:int;default:-1;" json:"title_sid"`
	//[ 4] desc_sid                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	DescSid int32 `gorm:"column:desc_sid;type:int;default:-1;" json:"desc_sid"`
	//[ 5] cost                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Cost int32 `gorm:"column:cost;type:int;default:1;" json:"cost"`
	//[ 6] level_req                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [51]
	LevelReq int32 `gorm:"column:level_req;type:int;default:51;" json:"level_req"`
	//[ 7] spell                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Spell int32 `gorm:"column:spell;type:int;default:-1;" json:"spell"`
	//[ 8] spell_type                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SpellType int32 `gorm:"column:spell_type;type:int;default:0;" json:"spell_type"`
	//[ 9] recast_time                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RecastTime int32 `gorm:"column:recast_time;type:int;default:0;" json:"recast_time"`
	//[10] expansion                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Expansion int32 `gorm:"column:expansion;type:int;default:0;" json:"expansion"`
	//[11] prev_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	PrevID int32 `gorm:"column:prev_id;type:int;default:-1;" json:"prev_id"`
	//[12] next_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NextID int32 `gorm:"column:next_id;type:int;default:-1;" json:"next_id"`
}

AaRanks struct is a row record of the aa_ranks table in the eqemu database

func (*AaRanks) BeforeSave

func (a *AaRanks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AaRanks) Prepare

func (a *AaRanks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AaRanks) TableInfo

func (a *AaRanks) TableInfo() *TableInfo

TableInfo return table meta data

func (*AaRanks) TableName

func (a *AaRanks) TableName() string

TableName sets the insert table name for this struct type

func (*AaRanks) Validate

func (a *AaRanks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Account

type Account struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Name string `gorm:"column:name;type:varchar;size:30;default:'';" json:"name"`
	//[ 2] charname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Charname string `gorm:"column:charname;type:varchar;size:64;default:'';" json:"charname"`
	//[ 3] sharedplat                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Sharedplat uint32 `gorm:"column:sharedplat;type:uint;default:0;" json:"sharedplat"`
	//[ 4] password                                       varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: [”]
	Password string `gorm:"column:password;type:varchar;size:50;default:'';" json:"password"`
	//[ 5] status                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Status int32 `gorm:"column:status;type:int;default:0;" json:"status"`
	//[ 6] ls_id                                          varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['eqemu']
	LsID null.String `gorm:"column:ls_id;type:varchar;size:64;default:'eqemu';" json:"ls_id"`
	//[ 7] lsaccount_id                                   uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [NULL]
	LsaccountID null.Int `gorm:"column:lsaccount_id;type:uint;" json:"lsaccount_id"`
	//[ 8] gmspeed                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Gmspeed uint32 `gorm:"column:gmspeed;type:utinyint;default:0;" json:"gmspeed"`
	//[ 9] revoked                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Revoked uint32 `gorm:"column:revoked;type:utinyint;default:0;" json:"revoked"`
	//[10] karma                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Karma uint32 `gorm:"column:karma;type:uint;default:0;" json:"karma"`
	//[11] minilogin_ip                                   varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	MiniloginIP string `gorm:"column:minilogin_ip;type:varchar;size:32;default:'';" json:"minilogin_ip"`
	//[12] hideme                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Hideme int32 `gorm:"column:hideme;type:tinyint;default:0;" json:"hideme"`
	//[13] rulesflag                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Rulesflag uint32 `gorm:"column:rulesflag;type:utinyint;default:0;" json:"rulesflag"`
	//[14] suspendeduntil                                 datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: ['0000-00-00 00:00:00']
	Suspendeduntil time.Time `gorm:"column:suspendeduntil;type:datetime;default:'0000-00-00 00:00:00';" json:"suspendeduntil"`
	//[15] time_creation                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimeCreation uint32 `gorm:"column:time_creation;type:uint;default:0;" json:"time_creation"`
	//[16] expansion                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Expansion int32 `gorm:"column:expansion;type:tinyint;default:0;" json:"expansion"`
	//[17] ban_reason                                     text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	BanReason null.String `gorm:"column:ban_reason;type:text;size:65535;" json:"ban_reason"`
	//[18] suspend_reason                                 text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	SuspendReason null.String `gorm:"column:suspend_reason;type:text;size:65535;" json:"suspend_reason"`
}

Account struct is a row record of the account table in the eqemu database

func (*Account) BeforeSave

func (a *Account) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Account) Prepare

func (a *Account) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Account) TableInfo

func (a *Account) TableInfo() *TableInfo

TableInfo return table meta data

func (*Account) TableName

func (a *Account) TableName() string

TableName sets the insert table name for this struct type

func (*Account) Validate

func (a *Account) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AccountFlags

type AccountFlags struct {
	//[ 0] p_accid                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	PAccid uint32 `gorm:"primary_key;column:p_accid;type:uint;" json:"p_accid"`
	//[ 1] p_flag                                         varchar(50)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 50      default: []
	PFlag string `gorm:"primary_key;column:p_flag;type:varchar;size:50;" json:"p_flag"`
	//[ 2] p_value                                        varchar(80)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 80      default: []
	PValue string `gorm:"column:p_value;type:varchar;size:80;" json:"p_value"`
}

AccountFlags struct is a row record of the account_flags table in the eqemu database

func (*AccountFlags) BeforeSave

func (a *AccountFlags) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AccountFlags) Prepare

func (a *AccountFlags) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AccountFlags) TableInfo

func (a *AccountFlags) TableInfo() *TableInfo

TableInfo return table meta data

func (*AccountFlags) TableName

func (a *AccountFlags) TableName() string

TableName sets the insert table name for this struct type

func (*AccountFlags) Validate

func (a *AccountFlags) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AccountIP

type AccountIP struct {
	//[ 0] accid                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Accid int32 `gorm:"primary_key;column:accid;type:int;default:0;" json:"accid"`
	//[ 1] ip                                             varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	IP string `gorm:"column:ip;type:varchar;size:32;default:'';" json:"ip"`
	//[ 2] count                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Count int32 `gorm:"column:count;type:int;default:1;" json:"count"`
	//[ 3] lastused                                       timestamp            null: false  primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [current_timestamp()]
	Lastused time.Time `gorm:"column:lastused;type:timestamp;" json:"lastused"`
}

AccountIP struct is a row record of the account_ip table in the eqemu database

func (*AccountIP) BeforeSave

func (a *AccountIP) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AccountIP) Prepare

func (a *AccountIP) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AccountIP) TableInfo

func (a *AccountIP) TableInfo() *TableInfo

TableInfo return table meta data

func (*AccountIP) TableName

func (a *AccountIP) TableName() string

TableName sets the insert table name for this struct type

func (*AccountIP) Validate

func (a *AccountIP) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AccountRewards

type AccountRewards struct {
	//[ 0] account_id                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	AccountID uint32 `gorm:"primary_key;column:account_id;type:uint;" json:"account_id"`
	//[ 1] reward_id                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	RewardID uint32 `gorm:"column:reward_id;type:uint;" json:"reward_id"`
	//[ 2] amount                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	Amount uint32 `gorm:"column:amount;type:uint;" json:"amount"`
}

AccountRewards struct is a row record of the account_rewards table in the eqemu database

func (*AccountRewards) BeforeSave

func (a *AccountRewards) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AccountRewards) Prepare

func (a *AccountRewards) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AccountRewards) TableInfo

func (a *AccountRewards) TableInfo() *TableInfo

TableInfo return table meta data

func (*AccountRewards) TableName

func (a *AccountRewards) TableName() string

TableName sets the insert table name for this struct type

func (*AccountRewards) Validate

func (a *AccountRewards) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Action

type Action int32

Action CRUD actions

func (Action) String

func (i Action) String() string

String describe the action

type AdventureDetails

type AdventureDetails struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] adventure_id                                   usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: []
	AdventureID uint32 `gorm:"column:adventure_id;type:usmallint;" json:"adventure_id"`
	//[ 2] instance_id                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	InstanceID int32 `gorm:"column:instance_id;type:int;default:-1;" json:"instance_id"`
	//[ 3] count                                          usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Count uint32 `gorm:"column:count;type:usmallint;default:0;" json:"count"`
	//[ 4] assassinate_count                              usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	AssassinateCount uint32 `gorm:"column:assassinate_count;type:usmallint;default:0;" json:"assassinate_count"`
	//[ 5] status                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Status uint32 `gorm:"column:status;type:utinyint;default:0;" json:"status"`
	//[ 6] time_created                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimeCreated uint32 `gorm:"column:time_created;type:uint;default:0;" json:"time_created"`
	//[ 7] time_zoned                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimeZoned uint32 `gorm:"column:time_zoned;type:uint;default:0;" json:"time_zoned"`
	//[ 8] time_completed                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimeCompleted uint32 `gorm:"column:time_completed;type:uint;default:0;" json:"time_completed"`
}

AdventureDetails struct is a row record of the adventure_details table in the eqemu database

func (*AdventureDetails) BeforeSave

func (a *AdventureDetails) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureDetails) Prepare

func (a *AdventureDetails) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureDetails) TableInfo

func (a *AdventureDetails) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureDetails) TableName

func (a *AdventureDetails) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureDetails) Validate

func (a *AdventureDetails) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AdventureMembers

type AdventureMembers struct {
	//[ 0] id                                             uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"column:id;type:uint;" json:"id"`
	//[ 1] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;" json:"charid"`
}

AdventureMembers struct is a row record of the adventure_members table in the eqemu database

func (*AdventureMembers) BeforeSave

func (a *AdventureMembers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureMembers) Prepare

func (a *AdventureMembers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureMembers) TableInfo

func (a *AdventureMembers) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureMembers) TableName

func (a *AdventureMembers) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureMembers) Validate

func (a *AdventureMembers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AdventureStats

type AdventureStats struct {
	//[ 0] player_id                                      uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	PlayerID uint32 `gorm:"primary_key;column:player_id;type:uint;" json:"player_id"`
	//[ 1] guk_wins                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	GukWins uint32 `gorm:"column:guk_wins;type:umediumint;default:0;" json:"guk_wins"`
	//[ 2] mir_wins                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	MirWins uint32 `gorm:"column:mir_wins;type:umediumint;default:0;" json:"mir_wins"`
	//[ 3] mmc_wins                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	MmcWins uint32 `gorm:"column:mmc_wins;type:umediumint;default:0;" json:"mmc_wins"`
	//[ 4] ruj_wins                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	RujWins uint32 `gorm:"column:ruj_wins;type:umediumint;default:0;" json:"ruj_wins"`
	//[ 5] tak_wins                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	TakWins uint32 `gorm:"column:tak_wins;type:umediumint;default:0;" json:"tak_wins"`
	//[ 6] guk_losses                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	GukLosses uint32 `gorm:"column:guk_losses;type:umediumint;default:0;" json:"guk_losses"`
	//[ 7] mir_losses                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	MirLosses uint32 `gorm:"column:mir_losses;type:umediumint;default:0;" json:"mir_losses"`
	//[ 8] mmc_losses                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	MmcLosses uint32 `gorm:"column:mmc_losses;type:umediumint;default:0;" json:"mmc_losses"`
	//[ 9] ruj_losses                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	RujLosses uint32 `gorm:"column:ruj_losses;type:umediumint;default:0;" json:"ruj_losses"`
	//[10] tak_losses                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	TakLosses uint32 `gorm:"column:tak_losses;type:umediumint;default:0;" json:"tak_losses"`
}

AdventureStats struct is a row record of the adventure_stats table in the eqemu database

func (*AdventureStats) BeforeSave

func (a *AdventureStats) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureStats) Prepare

func (a *AdventureStats) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureStats) TableInfo

func (a *AdventureStats) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureStats) TableName

func (a *AdventureStats) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureStats) Validate

func (a *AdventureStats) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AdventureTemplate

type AdventureTemplate struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] zone                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Zone string `gorm:"column:zone;type:varchar;size:64;" json:"zone"`
	//[ 2] zone_version                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	ZoneVersion uint32 `gorm:"column:zone_version;type:utinyint;default:0;" json:"zone_version"`
	//[ 3] is_hard                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	IsHard uint32 `gorm:"column:is_hard;type:utinyint;default:0;" json:"is_hard"`
	//[ 4] is_raid                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	IsRaid uint32 `gorm:"column:is_raid;type:utinyint;default:0;" json:"is_raid"`
	//[ 5] min_level                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	MinLevel uint32 `gorm:"column:min_level;type:utinyint;default:1;" json:"min_level"`
	//[ 6] max_level                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [65]
	MaxLevel uint32 `gorm:"column:max_level;type:utinyint;default:65;" json:"max_level"`
	//[ 7] type                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Type uint32 `gorm:"column:type;type:utinyint;default:0;" json:"type"`
	//[ 8] type_data                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TypeData uint32 `gorm:"column:type_data;type:uint;default:0;" json:"type_data"`
	//[ 9] type_count                                     usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	TypeCount uint32 `gorm:"column:type_count;type:usmallint;default:0;" json:"type_count"`
	//[10] assa_x                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	AssaX float32 `gorm:"column:assa_x;type:float;default:0;" json:"assa_x"`
	//[11] assa_y                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	AssaY float32 `gorm:"column:assa_y;type:float;default:0;" json:"assa_y"`
	//[12] assa_z                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	AssaZ float32 `gorm:"column:assa_z;type:float;default:0;" json:"assa_z"`
	//[13] assa_h                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	AssaH float32 `gorm:"column:assa_h;type:float;default:0;" json:"assa_h"`
	//[14] text                                           varchar(511)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 511     default: [NULL]
	Text null.String `gorm:"column:text;type:varchar;size:511;" json:"text"`
	//[15] duration                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [7200]
	Duration uint32 `gorm:"column:duration;type:uint;default:7200;" json:"duration"`
	//[16] zone_in_time                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1800]
	ZoneInTime uint32 `gorm:"column:zone_in_time;type:uint;default:1800;" json:"zone_in_time"`
	//[17] win_points                                     usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	WinPoints uint32 `gorm:"column:win_points;type:usmallint;default:0;" json:"win_points"`
	//[18] lose_points                                    usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	LosePoints uint32 `gorm:"column:lose_points;type:usmallint;default:0;" json:"lose_points"`
	//[19] theme                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Theme uint32 `gorm:"column:theme;type:utinyint;default:1;" json:"theme"`
	//[20] zone_in_zone_id                                usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	ZoneInZoneID uint32 `gorm:"column:zone_in_zone_id;type:usmallint;default:0;" json:"zone_in_zone_id"`
	//[21] zone_in_x                                      float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	ZoneInX float32 `gorm:"column:zone_in_x;type:float;default:0;" json:"zone_in_x"`
	//[22] zone_in_y                                      float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	ZoneInY float32 `gorm:"column:zone_in_y;type:float;default:0;" json:"zone_in_y"`
	//[23] zone_in_object_id                              smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ZoneInObjectID int32 `gorm:"column:zone_in_object_id;type:smallint;default:0;" json:"zone_in_object_id"`
	//[24] dest_x                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestX float32 `gorm:"column:dest_x;type:float;default:0;" json:"dest_x"`
	//[25] dest_y                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestY float32 `gorm:"column:dest_y;type:float;default:0;" json:"dest_y"`
	//[26] dest_z                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestZ float32 `gorm:"column:dest_z;type:float;default:0;" json:"dest_z"`
	//[27] dest_h                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestH float32 `gorm:"column:dest_h;type:float;default:0;" json:"dest_h"`
	//[28] graveyard_zone_id                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GraveyardZoneID uint32 `gorm:"column:graveyard_zone_id;type:uint;default:0;" json:"graveyard_zone_id"`
	//[29] graveyard_x                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	GraveyardX float32 `gorm:"column:graveyard_x;type:float;default:0;" json:"graveyard_x"`
	//[30] graveyard_y                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	GraveyardY float32 `gorm:"column:graveyard_y;type:float;default:0;" json:"graveyard_y"`
	//[31] graveyard_z                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	GraveyardZ float32 `gorm:"column:graveyard_z;type:float;default:0;" json:"graveyard_z"`
	//[32] graveyard_radius                               ufloat               null: false  primary: false  isArray: false  auto: false  col: ufloat          len: -1      default: [0]
	GraveyardRadius float32 `gorm:"column:graveyard_radius;type:ufloat;default:0;" json:"graveyard_radius"`
}

AdventureTemplate struct is a row record of the adventure_template table in the eqemu database

func (*AdventureTemplate) BeforeSave

func (a *AdventureTemplate) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureTemplate) Prepare

func (a *AdventureTemplate) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureTemplate) TableInfo

func (a *AdventureTemplate) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureTemplate) TableName

func (a *AdventureTemplate) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureTemplate) Validate

func (a *AdventureTemplate) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AdventureTemplateEntry

type AdventureTemplateEntry struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] template_id                                    uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	TemplateID uint32 `gorm:"primary_key;column:template_id;type:uint;" json:"template_id"`
}

AdventureTemplateEntry struct is a row record of the adventure_template_entry table in the eqemu database

func (*AdventureTemplateEntry) BeforeSave

func (a *AdventureTemplateEntry) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureTemplateEntry) Prepare

func (a *AdventureTemplateEntry) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureTemplateEntry) TableInfo

func (a *AdventureTemplateEntry) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureTemplateEntry) TableName

func (a *AdventureTemplateEntry) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureTemplateEntry) Validate

func (a *AdventureTemplateEntry) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AdventureTemplateEntryFlavor

type AdventureTemplateEntryFlavor struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] text                                           varchar(512)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 512     default: []
	Text string `gorm:"column:text;type:varchar;size:512;" json:"text"`
}

AdventureTemplateEntryFlavor struct is a row record of the adventure_template_entry_flavor table in the eqemu database

func (*AdventureTemplateEntryFlavor) BeforeSave

func (a *AdventureTemplateEntryFlavor) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AdventureTemplateEntryFlavor) Prepare

func (a *AdventureTemplateEntryFlavor) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AdventureTemplateEntryFlavor) TableInfo

func (a *AdventureTemplateEntryFlavor) TableInfo() *TableInfo

TableInfo return table meta data

func (*AdventureTemplateEntryFlavor) TableName

func (a *AdventureTemplateEntryFlavor) TableName() string

TableName sets the insert table name for this struct type

func (*AdventureTemplateEntryFlavor) Validate

func (a *AdventureTemplateEntryFlavor) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type AlternateCurrency

type AlternateCurrency struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;column:id;type:int;" json:"id"`
	//[ 1] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItemID int32 `gorm:"column:item_id;type:int;" json:"item_id"`
}

AlternateCurrency struct is a row record of the alternate_currency table in the eqemu database

func (*AlternateCurrency) BeforeSave

func (a *AlternateCurrency) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*AlternateCurrency) Prepare

func (a *AlternateCurrency) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*AlternateCurrency) TableInfo

func (a *AlternateCurrency) TableInfo() *TableInfo

TableInfo return table meta data

func (*AlternateCurrency) TableName

func (a *AlternateCurrency) TableName() string

TableName sets the insert table name for this struct type

func (*AlternateCurrency) Validate

func (a *AlternateCurrency) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Auras

type Auras struct {
	//[ 0] type                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Type int32 `gorm:"primary_key;column:type;type:int;" json:"type"`
	//[ 1] npc_type                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	NpcType int32 `gorm:"column:npc_type;type:int;" json:"npc_type"`
	//[ 2] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 3] spell_id                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	SpellID int32 `gorm:"column:spell_id;type:int;" json:"spell_id"`
	//[ 4] distance                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [60]
	Distance int32 `gorm:"column:distance;type:int;default:60;" json:"distance"`
	//[ 5] aura_type                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	AuraType int32 `gorm:"column:aura_type;type:int;default:1;" json:"aura_type"`
	//[ 6] spawn_type                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SpawnType int32 `gorm:"column:spawn_type;type:int;default:0;" json:"spawn_type"`
	//[ 7] movement                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Movement int32 `gorm:"column:movement;type:int;default:0;" json:"movement"`
	//[ 8] duration                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [5400]
	Duration int32 `gorm:"column:duration;type:int;default:5400;" json:"duration"`
	//[ 9] icon                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Icon int32 `gorm:"column:icon;type:int;default:-1;" json:"icon"`
	//[10] cast_time                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastTime int32 `gorm:"column:cast_time;type:int;default:0;" json:"cast_time"`
}

Auras struct is a row record of the auras table in the eqemu database

func (*Auras) BeforeSave

func (a *Auras) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Auras) Prepare

func (a *Auras) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Auras) TableInfo

func (a *Auras) TableInfo() *TableInfo

TableInfo return table meta data

func (*Auras) TableName

func (a *Auras) TableName() string

TableName sets the insert table name for this struct type

func (*Auras) Validate

func (a *Auras) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type BannedIps

type BannedIps struct {
	//[ 0] ip_address                                     varchar(32)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 32      default: []
	IPAddress string `gorm:"primary_key;column:ip_address;type:varchar;size:32;" json:"ip_address"`
	//[ 1] notes                                          varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Notes null.String `gorm:"column:notes;type:varchar;size:32;" json:"notes"`
}

BannedIps struct is a row record of the banned_ips table in the eqemu database

func (*BannedIps) BeforeSave

func (b *BannedIps) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*BannedIps) Prepare

func (b *BannedIps) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*BannedIps) TableInfo

func (b *BannedIps) TableInfo() *TableInfo

TableInfo return table meta data

func (*BannedIps) TableName

func (b *BannedIps) TableName() string

TableName sets the insert table name for this struct type

func (*BannedIps) Validate

func (b *BannedIps) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type BaseData

type BaseData struct {
	//[ 0] level                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Level uint32 `gorm:"primary_key;column:level;type:uint;" json:"level"`
	//[ 1] class                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Class uint32 `gorm:"primary_key;column:class;type:uint;" json:"class"`
	//[ 2] hp                                             double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	Hp float64 `gorm:"column:hp;type:double;" json:"hp"`
	//[ 3] mana                                           double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	Mana float64 `gorm:"column:mana;type:double;" json:"mana"`
	//[ 4] end                                            double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	End float64 `gorm:"column:end;type:double;" json:"end"`
	//[ 5] unk1                                           double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	Unk1 float64 `gorm:"column:unk1;type:double;" json:"unk_1"`
	//[ 6] unk2                                           double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	Unk2 float64 `gorm:"column:unk2;type:double;" json:"unk_2"`
	//[ 7] hp_fac                                         double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	HpFac float64 `gorm:"column:hp_fac;type:double;" json:"hp_fac"`
	//[ 8] mana_fac                                       double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	ManaFac float64 `gorm:"column:mana_fac;type:double;" json:"mana_fac"`
	//[ 9] end_fac                                        double               null: false  primary: false  isArray: false  auto: false  col: double          len: -1      default: []
	EndFac float64 `gorm:"column:end_fac;type:double;" json:"end_fac"`
}

BaseData struct is a row record of the base_data table in the eqemu database

func (*BaseData) BeforeSave

func (b *BaseData) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*BaseData) Prepare

func (b *BaseData) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*BaseData) TableInfo

func (b *BaseData) TableInfo() *TableInfo

TableInfo return table meta data

func (*BaseData) TableName

func (b *BaseData) TableName() string

TableName sets the insert table name for this struct type

func (*BaseData) Validate

func (b *BaseData) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type BlockedSpells

type BlockedSpells struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] spellid                                        umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Spellid uint32 `gorm:"column:spellid;type:umediumint;default:0;" json:"spellid"`
	//[ 2] type                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Type int32 `gorm:"column:type;type:tinyint;default:0;" json:"type"`
	//[ 3] zoneid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 4] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 5] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 6] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 7] x_diff                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	XDiff float32 `gorm:"column:x_diff;type:float;default:0;" json:"x_diff"`
	//[ 8] y_diff                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	YDiff float32 `gorm:"column:y_diff;type:float;default:0;" json:"y_diff"`
	//[ 9] z_diff                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	ZDiff float32 `gorm:"column:z_diff;type:float;default:0;" json:"z_diff"`
	//[10] message                                        varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Message string `gorm:"column:message;type:varchar;size:255;default:'';" json:"message"`
	//[11] description                                    varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Description string `gorm:"column:description;type:varchar;size:255;default:'';" json:"description"`
}

BlockedSpells struct is a row record of the blocked_spells table in the eqemu database

func (*BlockedSpells) BeforeSave

func (b *BlockedSpells) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*BlockedSpells) Prepare

func (b *BlockedSpells) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*BlockedSpells) TableInfo

func (b *BlockedSpells) TableInfo() *TableInfo

TableInfo return table meta data

func (*BlockedSpells) TableName

func (b *BlockedSpells) TableName() string

TableName sets the insert table name for this struct type

func (*BlockedSpells) Validate

func (b *BlockedSpells) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Books

type Books struct {
	//[ 0] name                                           varchar(30)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Name string `gorm:"primary_key;column:name;type:varchar;size:30;default:'';" json:"name"`
	//[ 1] txtfile                                        text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Txtfile string `gorm:"column:txtfile;type:text;size:65535;" json:"txtfile"`
	//[ 2] language                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Language int32 `gorm:"column:language;type:int;default:0;" json:"language"`
}

Books struct is a row record of the books table in the eqemu database

func (*Books) BeforeSave

func (b *Books) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Books) Prepare

func (b *Books) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Books) TableInfo

func (b *Books) TableInfo() *TableInfo

TableInfo return table meta data

func (*Books) TableName

func (b *Books) TableName() string

TableName sets the insert table name for this struct type

func (*Books) Validate

func (b *Books) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type BugReports

type BugReports struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] zone                                           varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: ['Unknown']
	Zone string `gorm:"column:zone;type:varchar;size:32;default:'Unknown';" json:"zone"`
	//[ 2] client_version_id                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ClientVersionID uint32 `gorm:"column:client_version_id;type:uint;default:0;" json:"client_version_id"`
	//[ 3] client_version_name                            varchar(24)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 24      default: ['Unknown']
	ClientVersionName string `gorm:"column:client_version_name;type:varchar;size:24;default:'Unknown';" json:"client_version_name"`
	//[ 4] account_id                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AccountID uint32 `gorm:"column:account_id;type:uint;default:0;" json:"account_id"`
	//[ 5] character_id                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CharacterID uint32 `gorm:"column:character_id;type:uint;default:0;" json:"character_id"`
	//[ 6] character_name                                 varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['Unknown']
	CharacterName string `gorm:"column:character_name;type:varchar;size:64;default:'Unknown';" json:"character_name"`
	//[ 7] reporter_spoof                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	ReporterSpoof int32 `gorm:"column:reporter_spoof;type:tinyint;default:1;" json:"reporter_spoof"`
	//[ 8] category_id                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CategoryID uint32 `gorm:"column:category_id;type:uint;default:0;" json:"category_id"`
	//[ 9] category_name                                  varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['Other']
	CategoryName string `gorm:"column:category_name;type:varchar;size:64;default:'Other';" json:"category_name"`
	//[10] reporter_name                                  varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['Unknown']
	ReporterName string `gorm:"column:reporter_name;type:varchar;size:64;default:'Unknown';" json:"reporter_name"`
	//[11] ui_path                                        varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: ['Unknown']
	UIPath string `gorm:"column:ui_path;type:varchar;size:128;default:'Unknown';" json:"ui_path"`
	//[12] pos_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosX float32 `gorm:"column:pos_x;type:float;default:0;" json:"pos_x"`
	//[13] pos_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosY float32 `gorm:"column:pos_y;type:float;default:0;" json:"pos_y"`
	//[14] pos_z                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosZ float32 `gorm:"column:pos_z;type:float;default:0;" json:"pos_z"`
	//[15] heading                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Heading uint32 `gorm:"column:heading;type:uint;default:0;" json:"heading"`
	//[16] time_played                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimePlayed uint32 `gorm:"column:time_played;type:uint;default:0;" json:"time_played"`
	//[17] target_id                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TargetID uint32 `gorm:"column:target_id;type:uint;default:0;" json:"target_id"`
	//[18] target_name                                    varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['Unknown']
	TargetName string `gorm:"column:target_name;type:varchar;size:64;default:'Unknown';" json:"target_name"`
	//[19] optional_info_mask                             uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	OptionalInfoMask uint32 `gorm:"column:optional_info_mask;type:uint;default:0;" json:"optional_info_mask"`
	//[20] _can_duplicate                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	CanDuplicate int32 `gorm:"column:_can_duplicate;type:tinyint;default:0;" json:"_can_duplicate"`
	//[21] _crash_bug                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	CrashBug int32 `gorm:"column:_crash_bug;type:tinyint;default:0;" json:"_crash_bug"`
	//[22] _target_info                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	TargetInfo int32 `gorm:"column:_target_info;type:tinyint;default:0;" json:"_target_info"`
	//[23] _character_flags                               tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	CharacterFlags int32 `gorm:"column:_character_flags;type:tinyint;default:0;" json:"_character_flags"`
	//[24] _unknown_value                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	UnknownValue int32 `gorm:"column:_unknown_value;type:tinyint;default:0;" json:"_unknown_value"`
	//[25] bug_report                                     varchar(1024)        null: false  primary: false  isArray: false  auto: false  col: varchar         len: 1024    default: [”]
	BugReport string `gorm:"column:bug_report;type:varchar;size:1024;default:'';" json:"bug_report"`
	//[26] system_info                                    varchar(1024)        null: false  primary: false  isArray: false  auto: false  col: varchar         len: 1024    default: [”]
	SystemInfo string `gorm:"column:system_info;type:varchar;size:1024;default:'';" json:"system_info"`
	//[27] report_datetime                                datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [current_timestamp()]
	ReportDatetime time.Time `gorm:"column:report_datetime;type:datetime;" json:"report_datetime"`
	//[28] bug_status                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	BugStatus uint32 `gorm:"column:bug_status;type:utinyint;default:0;" json:"bug_status"`
	//[29] last_review                                    datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [current_timestamp()]
	LastReview time.Time `gorm:"column:last_review;type:datetime;" json:"last_review"`
	//[30] last_reviewer                                  varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['None']
	LastReviewer string `gorm:"column:last_reviewer;type:varchar;size:64;default:'None';" json:"last_reviewer"`
	//[31] reviewer_notes                                 varchar(1024)        null: false  primary: false  isArray: false  auto: false  col: varchar         len: 1024    default: [”]
	ReviewerNotes string `gorm:"column:reviewer_notes;type:varchar;size:1024;default:'';" json:"reviewer_notes"`
}

BugReports struct is a row record of the bug_reports table in the eqemu database

func (*BugReports) BeforeSave

func (b *BugReports) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*BugReports) Prepare

func (b *BugReports) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*BugReports) TableInfo

func (b *BugReports) TableInfo() *TableInfo

TableInfo return table meta data

func (*BugReports) TableName

func (b *BugReports) TableName() string

TableName sets the insert table name for this struct type

func (*BugReports) Validate

func (b *BugReports) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Bugs

type Bugs struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] zone                                           varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: []
	Zone string `gorm:"column:zone;type:varchar;size:32;" json:"zone"`
	//[ 2] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 3] ui                                             varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: []
	UI string `gorm:"column:ui;type:varchar;size:128;" json:"ui"`
	//[ 4] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 5] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 6] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 7] type                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Type string `gorm:"column:type;type:varchar;size:64;" json:"type"`
	//[ 8] flag                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: []
	Flag uint32 `gorm:"column:flag;type:utinyint;" json:"flag"`
	//[ 9] target                                         varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Target null.String `gorm:"column:target;type:varchar;size:64;" json:"target"`
	//[10] bug                                            varchar(1024)        null: false  primary: false  isArray: false  auto: false  col: varchar         len: 1024    default: []
	Bug string `gorm:"column:bug;type:varchar;size:1024;" json:"bug"`
	//[11] date                                           date                 null: false  primary: false  isArray: false  auto: false  col: date            len: -1      default: []
	Date time.Time `gorm:"column:date;type:date;" json:"date"`
	//[12] status                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Status uint32 `gorm:"column:status;type:utinyint;default:0;" json:"status"`
}

Bugs struct is a row record of the bugs table in the eqemu database

func (*Bugs) BeforeSave

func (b *Bugs) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Bugs) Prepare

func (b *Bugs) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Bugs) TableInfo

func (b *Bugs) TableInfo() *TableInfo

TableInfo return table meta data

func (*Bugs) TableName

func (b *Bugs) TableName() string

TableName sets the insert table name for this struct type

func (*Bugs) Validate

func (b *Bugs) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Buyer

type Buyer struct {
	//[ 0] charid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Charid int32 `gorm:"primary_key;column:charid;type:int;default:0;" json:"charid"`
	//[ 1] buyslot                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Buyslot int32 `gorm:"primary_key;column:buyslot;type:int;default:0;" json:"buyslot"`
	//[ 2] itemid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemid int32 `gorm:"column:itemid;type:int;default:0;" json:"itemid"`
	//[ 3] itemname                                       varchar(65)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 65      default: [”]
	Itemname string `gorm:"column:itemname;type:varchar;size:65;default:'';" json:"itemname"`
	//[ 4] quantity                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Quantity int32 `gorm:"column:quantity;type:int;default:0;" json:"quantity"`
	//[ 5] price                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Price int32 `gorm:"column:price;type:int;default:0;" json:"price"`
}

Buyer struct is a row record of the buyer table in the eqemu database

func (*Buyer) BeforeSave

func (b *Buyer) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Buyer) Prepare

func (b *Buyer) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Buyer) TableInfo

func (b *Buyer) TableInfo() *TableInfo

TableInfo return table meta data

func (*Buyer) TableName

func (b *Buyer) TableName() string

TableName sets the insert table name for this struct type

func (*Buyer) Validate

func (b *Buyer) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharCreateCombinations

type CharCreateCombinations struct {
	//[ 0] allocation_id                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocationID uint32 `gorm:"column:allocation_id;type:uint;" json:"allocation_id"`
	//[ 1] race                                           uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Race uint32 `gorm:"primary_key;column:race;type:uint;" json:"race"`
	//[ 2] class                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Class uint32 `gorm:"primary_key;column:class;type:uint;" json:"class"`
	//[ 3] deity                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Deity uint32 `gorm:"primary_key;column:deity;type:uint;" json:"deity"`
	//[ 4] start_zone                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	StartZone uint32 `gorm:"primary_key;column:start_zone;type:uint;" json:"start_zone"`
	//[ 5] expansions_req                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ExpansionsReq uint32 `gorm:"column:expansions_req;type:uint;default:0;" json:"expansions_req"`
}

CharCreateCombinations struct is a row record of the char_create_combinations table in the eqemu database

func (*CharCreateCombinations) BeforeSave

func (c *CharCreateCombinations) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharCreateCombinations) Prepare

func (c *CharCreateCombinations) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharCreateCombinations) TableInfo

func (c *CharCreateCombinations) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharCreateCombinations) TableName

func (c *CharCreateCombinations) TableName() string

TableName sets the insert table name for this struct type

func (*CharCreateCombinations) Validate

func (c *CharCreateCombinations) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharCreatePointAllocations

type CharCreatePointAllocations struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] base_str                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseStr uint32 `gorm:"column:base_str;type:uint;" json:"base_str"`
	//[ 2] base_sta                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseSta uint32 `gorm:"column:base_sta;type:uint;" json:"base_sta"`
	//[ 3] base_dex                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseDex uint32 `gorm:"column:base_dex;type:uint;" json:"base_dex"`
	//[ 4] base_agi                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseAgi uint32 `gorm:"column:base_agi;type:uint;" json:"base_agi"`
	//[ 5] base_int                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseInt uint32 `gorm:"column:base_int;type:uint;" json:"base_int"`
	//[ 6] base_wis                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseWis uint32 `gorm:"column:base_wis;type:uint;" json:"base_wis"`
	//[ 7] base_cha                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	BaseCha uint32 `gorm:"column:base_cha;type:uint;" json:"base_cha"`
	//[ 8] alloc_str                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocStr uint32 `gorm:"column:alloc_str;type:uint;" json:"alloc_str"`
	//[ 9] alloc_sta                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocSta uint32 `gorm:"column:alloc_sta;type:uint;" json:"alloc_sta"`
	//[10] alloc_dex                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocDex uint32 `gorm:"column:alloc_dex;type:uint;" json:"alloc_dex"`
	//[11] alloc_agi                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocAgi uint32 `gorm:"column:alloc_agi;type:uint;" json:"alloc_agi"`
	//[12] alloc_int                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocInt uint32 `gorm:"column:alloc_int;type:uint;" json:"alloc_int"`
	//[13] alloc_wis                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocWis uint32 `gorm:"column:alloc_wis;type:uint;" json:"alloc_wis"`
	//[14] alloc_cha                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	AllocCha uint32 `gorm:"column:alloc_cha;type:uint;" json:"alloc_cha"`
}

CharCreatePointAllocations struct is a row record of the char_create_point_allocations table in the eqemu database

func (*CharCreatePointAllocations) BeforeSave

func (c *CharCreatePointAllocations) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharCreatePointAllocations) Prepare

func (c *CharCreatePointAllocations) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharCreatePointAllocations) TableInfo

func (c *CharCreatePointAllocations) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharCreatePointAllocations) TableName

func (c *CharCreatePointAllocations) TableName() string

TableName sets the insert table name for this struct type

func (*CharCreatePointAllocations) Validate

func (c *CharCreatePointAllocations) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharRecipeList

type CharRecipeList struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	CharID int32 `gorm:"primary_key;column:char_id;type:int;" json:"char_id"`
	//[ 1] recipe_id                                      int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	RecipeID int32 `gorm:"primary_key;column:recipe_id;type:int;" json:"recipe_id"`
	//[ 2] madecount                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Madecount int32 `gorm:"column:madecount;type:int;default:0;" json:"madecount"`
}

CharRecipeList struct is a row record of the char_recipe_list table in the eqemu database

func (*CharRecipeList) BeforeSave

func (c *CharRecipeList) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharRecipeList) Prepare

func (c *CharRecipeList) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharRecipeList) TableInfo

func (c *CharRecipeList) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharRecipeList) TableName

func (c *CharRecipeList) TableName() string

TableName sets the insert table name for this struct type

func (*CharRecipeList) Validate

func (c *CharRecipeList) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterActivities

type CharacterActivities struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 1] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
	//[ 2] activityid                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Activityid uint32 `gorm:"primary_key;column:activityid;type:uint;default:0;" json:"activityid"`
	//[ 3] donecount                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Donecount uint32 `gorm:"column:donecount;type:uint;default:0;" json:"donecount"`
	//[ 4] completed                                      tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Completed null.Int `gorm:"column:completed;type:tinyint;default:0;" json:"completed"`
}

CharacterActivities struct is a row record of the character_activities table in the eqemu database

func (*CharacterActivities) BeforeSave

func (c *CharacterActivities) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterActivities) Prepare

func (c *CharacterActivities) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterActivities) TableInfo

func (c *CharacterActivities) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterActivities) TableName

func (c *CharacterActivities) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterActivities) Validate

func (c *CharacterActivities) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterAltCurrency

type CharacterAltCurrency struct {
	//[ 0] char_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	CharID uint32 `gorm:"primary_key;column:char_id;type:uint;" json:"char_id"`
	//[ 1] currency_id                                    uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	CurrencyID uint32 `gorm:"primary_key;column:currency_id;type:uint;" json:"currency_id"`
	//[ 2] amount                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	Amount uint32 `gorm:"column:amount;type:uint;" json:"amount"`
}

CharacterAltCurrency struct is a row record of the character_alt_currency table in the eqemu database

func (*CharacterAltCurrency) BeforeSave

func (c *CharacterAltCurrency) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterAltCurrency) Prepare

func (c *CharacterAltCurrency) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterAltCurrency) TableInfo

func (c *CharacterAltCurrency) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterAltCurrency) TableName

func (c *CharacterAltCurrency) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterAltCurrency) Validate

func (c *CharacterAltCurrency) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterAlternateAbilities

type CharacterAlternateAbilities struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] aa_id                                          usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	AaID uint32 `gorm:"primary_key;column:aa_id;type:usmallint;default:0;" json:"aa_id"`
	//[ 2] aa_value                                       usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	AaValue uint32 `gorm:"column:aa_value;type:usmallint;default:0;" json:"aa_value"`
	//[ 3] charges                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Charges uint32 `gorm:"column:charges;type:usmallint;default:0;" json:"charges"`
}

CharacterAlternateAbilities struct is a row record of the character_alternate_abilities table in the eqemu database

func (*CharacterAlternateAbilities) BeforeSave

func (c *CharacterAlternateAbilities) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterAlternateAbilities) Prepare

func (c *CharacterAlternateAbilities) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterAlternateAbilities) TableInfo

func (c *CharacterAlternateAbilities) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterAlternateAbilities) TableName

func (c *CharacterAlternateAbilities) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterAlternateAbilities) Validate

func (c *CharacterAlternateAbilities) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterAuras

type CharacterAuras struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;column:id;type:int;" json:"id"`
	//[ 1] slot                                           tinyint              null: false  primary: true   isArray: false  auto: false  col: tinyint         len: -1      default: []
	Slot int32 `gorm:"primary_key;column:slot;type:tinyint;" json:"slot"`
	//[ 2] spell_id                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	SpellID int32 `gorm:"column:spell_id;type:int;" json:"spell_id"`
}

CharacterAuras struct is a row record of the character_auras table in the eqemu database

func (*CharacterAuras) BeforeSave

func (c *CharacterAuras) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterAuras) Prepare

func (c *CharacterAuras) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterAuras) TableInfo

func (c *CharacterAuras) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterAuras) TableName

func (c *CharacterAuras) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterAuras) Validate

func (c *CharacterAuras) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterBandolier

type CharacterBandolier struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] bandolier_id                                   utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	BandolierID uint32 `gorm:"primary_key;column:bandolier_id;type:utinyint;default:0;" json:"bandolier_id"`
	//[ 2] bandolier_slot                                 utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	BandolierSlot uint32 `gorm:"primary_key;column:bandolier_slot;type:utinyint;default:0;" json:"bandolier_slot"`
	//[ 3] item_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemID uint32 `gorm:"column:item_id;type:uint;default:0;" json:"item_id"`
	//[ 4] icon                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Icon uint32 `gorm:"column:icon;type:uint;default:0;" json:"icon"`
	//[ 5] bandolier_name                                 varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: ['0']
	BandolierName string `gorm:"column:bandolier_name;type:varchar;size:32;default:'0';" json:"bandolier_name"`
}

CharacterBandolier struct is a row record of the character_bandolier table in the eqemu database

func (*CharacterBandolier) BeforeSave

func (c *CharacterBandolier) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterBandolier) Prepare

func (c *CharacterBandolier) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterBandolier) TableInfo

func (c *CharacterBandolier) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterBandolier) TableName

func (c *CharacterBandolier) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterBandolier) Validate

func (c *CharacterBandolier) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterBind

type CharacterBind struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] slot                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Slot int32 `gorm:"primary_key;column:slot;type:int;default:0;" json:"slot"`
	//[ 2] zone_id                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	ZoneID uint32 `gorm:"column:zone_id;type:usmallint;default:0;" json:"zone_id"`
	//[ 3] instance_id                                    umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	InstanceID uint32 `gorm:"column:instance_id;type:umediumint;default:0;" json:"instance_id"`
	//[ 4] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 5] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 6] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 7] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
}

CharacterBind struct is a row record of the character_bind table in the eqemu database

func (*CharacterBind) BeforeSave

func (c *CharacterBind) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterBind) Prepare

func (c *CharacterBind) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterBind) TableInfo

func (c *CharacterBind) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterBind) TableName

func (c *CharacterBind) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterBind) Validate

func (c *CharacterBind) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterBuffs

type CharacterBuffs struct {
	//[ 0] character_id                                   uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	CharacterID uint32 `gorm:"primary_key;column:character_id;type:uint;" json:"character_id"`
	//[ 1] slot_id                                        utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: []
	SlotID uint32 `gorm:"primary_key;column:slot_id;type:utinyint;" json:"slot_id"`
	//[ 2] spell_id                                       usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: []
	SpellID uint32 `gorm:"column:spell_id;type:usmallint;" json:"spell_id"`
	//[ 3] caster_level                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: []
	CasterLevel uint32 `gorm:"column:caster_level;type:utinyint;" json:"caster_level"`
	//[ 4] caster_name                                    varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	CasterName string `gorm:"column:caster_name;type:varchar;size:64;" json:"caster_name"`
	//[ 5] ticsremaining                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	Ticsremaining int32 `gorm:"column:ticsremaining;type:int;" json:"ticsremaining"`
	//[ 6] counters                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	Counters uint32 `gorm:"column:counters;type:uint;" json:"counters"`
	//[ 7] numhits                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	Numhits uint32 `gorm:"column:numhits;type:uint;" json:"numhits"`
	//[ 8] melee_rune                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	MeleeRune uint32 `gorm:"column:melee_rune;type:uint;" json:"melee_rune"`
	//[ 9] magic_rune                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	MagicRune uint32 `gorm:"column:magic_rune;type:uint;" json:"magic_rune"`
	//[10] persistent                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: []
	Persistent uint32 `gorm:"column:persistent;type:utinyint;" json:"persistent"`
	//[11] dot_rune                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DotRune int32 `gorm:"column:dot_rune;type:int;default:0;" json:"dot_rune"`
	//[12] caston_x                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastonX int32 `gorm:"column:caston_x;type:int;default:0;" json:"caston_x"`
	//[13] caston_y                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastonY int32 `gorm:"column:caston_y;type:int;default:0;" json:"caston_y"`
	//[14] caston_z                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastonZ int32 `gorm:"column:caston_z;type:int;default:0;" json:"caston_z"`
	//[15] ExtraDIChance                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ExtraDIChance int32 `gorm:"column:ExtraDIChance;type:int;default:0;" json:"extra_di_chance"`
	//[16] instrument_mod                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [10]
	InstrumentMod int32 `gorm:"column:instrument_mod;type:int;default:10;" json:"instrument_mod"`
}

CharacterBuffs struct is a row record of the character_buffs table in the eqemu database

func (*CharacterBuffs) BeforeSave

func (c *CharacterBuffs) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterBuffs) Prepare

func (c *CharacterBuffs) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterBuffs) TableInfo

func (c *CharacterBuffs) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterBuffs) TableName

func (c *CharacterBuffs) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterBuffs) Validate

func (c *CharacterBuffs) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterCorpseItems

type CharacterCorpseItems struct {
	//[ 0] corpse_id                                      uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	CorpseID uint32 `gorm:"primary_key;column:corpse_id;type:uint;" json:"corpse_id"`
	//[ 1] equip_slot                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	EquipSlot uint32 `gorm:"primary_key;column:equip_slot;type:uint;" json:"equip_slot"`
	//[ 2] item_id                                        uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [NULL]
	ItemID null.Int `gorm:"column:item_id;type:uint;" json:"item_id"`
	//[ 3] charges                                        uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [NULL]
	Charges null.Int `gorm:"column:charges;type:uint;" json:"charges"`
	//[ 4] aug_1                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:uint;default:0;" json:"aug_1"`
	//[ 5] aug_2                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:uint;default:0;" json:"aug_2"`
	//[ 6] aug_3                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:uint;default:0;" json:"aug_3"`
	//[ 7] aug_4                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:uint;default:0;" json:"aug_4"`
	//[ 8] aug_5                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:uint;default:0;" json:"aug_5"`
	//[ 9] aug_6                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug6 int32 `gorm:"column:aug_6;type:int;default:0;" json:"aug_6"`
	//[10] attuned                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Attuned int32 `gorm:"column:attuned;type:smallint;default:0;" json:"attuned"`
}

CharacterCorpseItems struct is a row record of the character_corpse_items table in the eqemu database

func (*CharacterCorpseItems) BeforeSave

func (c *CharacterCorpseItems) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterCorpseItems) Prepare

func (c *CharacterCorpseItems) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterCorpseItems) TableInfo

func (c *CharacterCorpseItems) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterCorpseItems) TableName

func (c *CharacterCorpseItems) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterCorpseItems) Validate

func (c *CharacterCorpseItems) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterCorpses

type CharacterCorpses struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] charid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"column:charid;type:uint;default:0;" json:"charid"`
	//[ 2] charname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Charname string `gorm:"column:charname;type:varchar;size:64;default:'';" json:"charname"`
	//[ 3] zone_id                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ZoneID int32 `gorm:"column:zone_id;type:smallint;default:0;" json:"zone_id"`
	//[ 4] instance_id                                    usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	InstanceID uint32 `gorm:"column:instance_id;type:usmallint;default:0;" json:"instance_id"`
	//[ 5] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 6] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 7] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 8] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 9] time_of_death                                  datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: ['0000-00-00 00:00:00']
	TimeOfDeath time.Time `gorm:"column:time_of_death;type:datetime;default:'0000-00-00 00:00:00';" json:"time_of_death"`
	//[10] guild_consent_id                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GuildConsentID uint32 `gorm:"column:guild_consent_id;type:uint;default:0;" json:"guild_consent_id"`
	//[11] is_rezzed                                      utinyint             null: true   primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	IsRezzed null.Int `gorm:"column:is_rezzed;type:utinyint;default:0;" json:"is_rezzed"`
	//[12] is_buried                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	IsBuried int32 `gorm:"column:is_buried;type:tinyint;default:0;" json:"is_buried"`
	//[13] was_at_graveyard                               tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	WasAtGraveyard int32 `gorm:"column:was_at_graveyard;type:tinyint;default:0;" json:"was_at_graveyard"`
	//[14] is_locked                                      tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	IsLocked null.Int `gorm:"column:is_locked;type:tinyint;default:0;" json:"is_locked"`
	//[15] exp                                            uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Exp null.Int `gorm:"column:exp;type:uint;default:0;" json:"exp"`
	//[16] size                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Size null.Int `gorm:"column:size;type:uint;default:0;" json:"size"`
	//[17] level                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Level null.Int `gorm:"column:level;type:uint;default:0;" json:"level"`
	//[18] race                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Race null.Int `gorm:"column:race;type:uint;default:0;" json:"race"`
	//[19] gender                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Gender null.Int `gorm:"column:gender;type:uint;default:0;" json:"gender"`
	//[20] class                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Class null.Int `gorm:"column:class;type:uint;default:0;" json:"class"`
	//[21] deity                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Deity null.Int `gorm:"column:deity;type:uint;default:0;" json:"deity"`
	//[22] texture                                        uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Texture null.Int `gorm:"column:texture;type:uint;default:0;" json:"texture"`
	//[23] helm_texture                                   uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	HelmTexture null.Int `gorm:"column:helm_texture;type:uint;default:0;" json:"helm_texture"`
	//[24] copper                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Copper null.Int `gorm:"column:copper;type:uint;default:0;" json:"copper"`
	//[25] silver                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Silver null.Int `gorm:"column:silver;type:uint;default:0;" json:"silver"`
	//[26] gold                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Gold null.Int `gorm:"column:gold;type:uint;default:0;" json:"gold"`
	//[27] platinum                                       uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Platinum null.Int `gorm:"column:platinum;type:uint;default:0;" json:"platinum"`
	//[28] hair_color                                     uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	HairColor null.Int `gorm:"column:hair_color;type:uint;default:0;" json:"hair_color"`
	//[29] beard_color                                    uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	BeardColor null.Int `gorm:"column:beard_color;type:uint;default:0;" json:"beard_color"`
	//[30] eye_color_1                                    uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EyeColor1 null.Int `gorm:"column:eye_color_1;type:uint;default:0;" json:"eye_color_1"`
	//[31] eye_color_2                                    uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EyeColor2 null.Int `gorm:"column:eye_color_2;type:uint;default:0;" json:"eye_color_2"`
	//[32] hair_style                                     uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	HairStyle null.Int `gorm:"column:hair_style;type:uint;default:0;" json:"hair_style"`
	//[33] face                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Face null.Int `gorm:"column:face;type:uint;default:0;" json:"face"`
	//[34] beard                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Beard null.Int `gorm:"column:beard;type:uint;default:0;" json:"beard"`
	//[35] drakkin_heritage                               uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinHeritage null.Int `gorm:"column:drakkin_heritage;type:uint;default:0;" json:"drakkin_heritage"`
	//[36] drakkin_tattoo                                 uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinTattoo null.Int `gorm:"column:drakkin_tattoo;type:uint;default:0;" json:"drakkin_tattoo"`
	//[37] drakkin_details                                uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinDetails null.Int `gorm:"column:drakkin_details;type:uint;default:0;" json:"drakkin_details"`
	//[38] wc_1                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc1 null.Int `gorm:"column:wc_1;type:uint;default:0;" json:"wc_1"`
	//[39] wc_2                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc2 null.Int `gorm:"column:wc_2;type:uint;default:0;" json:"wc_2"`
	//[40] wc_3                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc3 null.Int `gorm:"column:wc_3;type:uint;default:0;" json:"wc_3"`
	//[41] wc_4                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc4 null.Int `gorm:"column:wc_4;type:uint;default:0;" json:"wc_4"`
	//[42] wc_5                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc5 null.Int `gorm:"column:wc_5;type:uint;default:0;" json:"wc_5"`
	//[43] wc_6                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc6 null.Int `gorm:"column:wc_6;type:uint;default:0;" json:"wc_6"`
	//[44] wc_7                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc7 null.Int `gorm:"column:wc_7;type:uint;default:0;" json:"wc_7"`
	//[45] wc_8                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc8 null.Int `gorm:"column:wc_8;type:uint;default:0;" json:"wc_8"`
	//[46] wc_9                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wc9 null.Int `gorm:"column:wc_9;type:uint;default:0;" json:"wc_9"`
}

CharacterCorpses struct is a row record of the character_corpses table in the eqemu database

func (*CharacterCorpses) BeforeSave

func (c *CharacterCorpses) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterCorpses) Prepare

func (c *CharacterCorpses) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterCorpses) TableInfo

func (c *CharacterCorpses) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterCorpses) TableName

func (c *CharacterCorpses) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterCorpses) Validate

func (c *CharacterCorpses) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterCurrency

type CharacterCurrency struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] platinum                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Platinum uint32 `gorm:"column:platinum;type:uint;default:0;" json:"platinum"`
	//[ 2] gold                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Gold uint32 `gorm:"column:gold;type:uint;default:0;" json:"gold"`
	//[ 3] silver                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Silver uint32 `gorm:"column:silver;type:uint;default:0;" json:"silver"`
	//[ 4] copper                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Copper uint32 `gorm:"column:copper;type:uint;default:0;" json:"copper"`
	//[ 5] platinum_bank                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PlatinumBank uint32 `gorm:"column:platinum_bank;type:uint;default:0;" json:"platinum_bank"`
	//[ 6] gold_bank                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GoldBank uint32 `gorm:"column:gold_bank;type:uint;default:0;" json:"gold_bank"`
	//[ 7] silver_bank                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	SilverBank uint32 `gorm:"column:silver_bank;type:uint;default:0;" json:"silver_bank"`
	//[ 8] copper_bank                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CopperBank uint32 `gorm:"column:copper_bank;type:uint;default:0;" json:"copper_bank"`
	//[ 9] platinum_cursor                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PlatinumCursor uint32 `gorm:"column:platinum_cursor;type:uint;default:0;" json:"platinum_cursor"`
	//[10] gold_cursor                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GoldCursor uint32 `gorm:"column:gold_cursor;type:uint;default:0;" json:"gold_cursor"`
	//[11] silver_cursor                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	SilverCursor uint32 `gorm:"column:silver_cursor;type:uint;default:0;" json:"silver_cursor"`
	//[12] copper_cursor                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CopperCursor uint32 `gorm:"column:copper_cursor;type:uint;default:0;" json:"copper_cursor"`
	//[13] radiant_crystals                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	RadiantCrystals uint32 `gorm:"column:radiant_crystals;type:uint;default:0;" json:"radiant_crystals"`
	//[14] career_radiant_crystals                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CareerRadiantCrystals uint32 `gorm:"column:career_radiant_crystals;type:uint;default:0;" json:"career_radiant_crystals"`
	//[15] ebon_crystals                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EbonCrystals uint32 `gorm:"column:ebon_crystals;type:uint;default:0;" json:"ebon_crystals"`
	//[16] career_ebon_crystals                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CareerEbonCrystals uint32 `gorm:"column:career_ebon_crystals;type:uint;default:0;" json:"career_ebon_crystals"`
}

CharacterCurrency struct is a row record of the character_currency table in the eqemu database

func (*CharacterCurrency) BeforeSave

func (c *CharacterCurrency) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterCurrency) Prepare

func (c *CharacterCurrency) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterCurrency) TableInfo

func (c *CharacterCurrency) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterCurrency) TableName

func (c *CharacterCurrency) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterCurrency) Validate

func (c *CharacterCurrency) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterData

type CharacterData struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] account_id                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	AccountID int32 `gorm:"column:account_id;type:int;default:0;" json:"account_id"`
	//[ 2] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"column:name;type:varchar;size:64;default:'';" json:"name"`
	//[ 3] last_name                                      varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	LastName string `gorm:"column:last_name;type:varchar;size:64;default:'';" json:"last_name"`
	//[ 4] title                                          varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Title string `gorm:"column:title;type:varchar;size:32;default:'';" json:"title"`
	//[ 5] suffix                                         varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Suffix string `gorm:"column:suffix;type:varchar;size:32;default:'';" json:"suffix"`
	//[ 6] zone_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ZoneID uint32 `gorm:"column:zone_id;type:uint;default:0;" json:"zone_id"`
	//[ 7] zone_instance                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ZoneInstance uint32 `gorm:"column:zone_instance;type:uint;default:0;" json:"zone_instance"`
	//[ 8] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 9] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[10] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[11] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[12] gender                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Gender uint32 `gorm:"column:gender;type:utinyint;default:0;" json:"gender"`
	//[13] race                                           usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Race uint32 `gorm:"column:race;type:usmallint;default:0;" json:"race"`
	//[14] class                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Class uint32 `gorm:"column:class;type:utinyint;default:0;" json:"class"`
	//[15] level                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Level uint32 `gorm:"column:level;type:uint;default:0;" json:"level"`
	//[16] deity                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Deity uint32 `gorm:"column:deity;type:uint;default:0;" json:"deity"`
	//[17] birthday                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Birthday uint32 `gorm:"column:birthday;type:uint;default:0;" json:"birthday"`
	//[18] last_login                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LastLogin uint32 `gorm:"column:last_login;type:uint;default:0;" json:"last_login"`
	//[19] time_played                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimePlayed uint32 `gorm:"column:time_played;type:uint;default:0;" json:"time_played"`
	//[20] level2                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Level2 uint32 `gorm:"column:level2;type:utinyint;default:0;" json:"level_2"`
	//[21] anon                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Anon uint32 `gorm:"column:anon;type:utinyint;default:0;" json:"anon"`
	//[22] gm                                             utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Gm uint32 `gorm:"column:gm;type:utinyint;default:0;" json:"gm"`
	//[23] face                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Face uint32 `gorm:"column:face;type:uint;default:0;" json:"face"`
	//[24] hair_color                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	HairColor uint32 `gorm:"column:hair_color;type:utinyint;default:0;" json:"hair_color"`
	//[25] hair_style                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	HairStyle uint32 `gorm:"column:hair_style;type:utinyint;default:0;" json:"hair_style"`
	//[26] beard                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Beard uint32 `gorm:"column:beard;type:utinyint;default:0;" json:"beard"`
	//[27] beard_color                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	BeardColor uint32 `gorm:"column:beard_color;type:utinyint;default:0;" json:"beard_color"`
	//[28] eye_color_1                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EyeColor1 uint32 `gorm:"column:eye_color_1;type:utinyint;default:0;" json:"eye_color_1"`
	//[29] eye_color_2                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EyeColor2 uint32 `gorm:"column:eye_color_2;type:utinyint;default:0;" json:"eye_color_2"`
	//[30] drakkin_heritage                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinHeritage uint32 `gorm:"column:drakkin_heritage;type:uint;default:0;" json:"drakkin_heritage"`
	//[31] drakkin_tattoo                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinTattoo uint32 `gorm:"column:drakkin_tattoo;type:uint;default:0;" json:"drakkin_tattoo"`
	//[32] drakkin_details                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DrakkinDetails uint32 `gorm:"column:drakkin_details;type:uint;default:0;" json:"drakkin_details"`
	//[33] ability_time_seconds                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	AbilityTimeSeconds uint32 `gorm:"column:ability_time_seconds;type:utinyint;default:0;" json:"ability_time_seconds"`
	//[34] ability_number                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	AbilityNumber uint32 `gorm:"column:ability_number;type:utinyint;default:0;" json:"ability_number"`
	//[35] ability_time_minutes                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	AbilityTimeMinutes uint32 `gorm:"column:ability_time_minutes;type:utinyint;default:0;" json:"ability_time_minutes"`
	//[36] ability_time_hours                             utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	AbilityTimeHours uint32 `gorm:"column:ability_time_hours;type:utinyint;default:0;" json:"ability_time_hours"`
	//[37] exp                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Exp uint32 `gorm:"column:exp;type:uint;default:0;" json:"exp"`
	//[38] aa_points_spent                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AaPointsSpent uint32 `gorm:"column:aa_points_spent;type:uint;default:0;" json:"aa_points_spent"`
	//[39] aa_exp                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AaExp uint32 `gorm:"column:aa_exp;type:uint;default:0;" json:"aa_exp"`
	//[40] aa_points                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AaPoints uint32 `gorm:"column:aa_points;type:uint;default:0;" json:"aa_points"`
	//[41] group_leadership_exp                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GroupLeadershipExp uint32 `gorm:"column:group_leadership_exp;type:uint;default:0;" json:"group_leadership_exp"`
	//[42] raid_leadership_exp                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	RaidLeadershipExp uint32 `gorm:"column:raid_leadership_exp;type:uint;default:0;" json:"raid_leadership_exp"`
	//[43] group_leadership_points                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	GroupLeadershipPoints uint32 `gorm:"column:group_leadership_points;type:uint;default:0;" json:"group_leadership_points"`
	//[44] raid_leadership_points                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	RaidLeadershipPoints uint32 `gorm:"column:raid_leadership_points;type:uint;default:0;" json:"raid_leadership_points"`
	//[45] points                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Points uint32 `gorm:"column:points;type:uint;default:0;" json:"points"`
	//[46] cur_hp                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CurHp uint32 `gorm:"column:cur_hp;type:uint;default:0;" json:"cur_hp"`
	//[47] mana                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Mana uint32 `gorm:"column:mana;type:uint;default:0;" json:"mana"`
	//[48] endurance                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Endurance uint32 `gorm:"column:endurance;type:uint;default:0;" json:"endurance"`
	//[49] intoxication                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Intoxication uint32 `gorm:"column:intoxication;type:uint;default:0;" json:"intoxication"`
	//[50] str                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Str uint32 `gorm:"column:str;type:uint;default:0;" json:"str"`
	//[51] sta                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Sta uint32 `gorm:"column:sta;type:uint;default:0;" json:"sta"`
	//[52] cha                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Cha uint32 `gorm:"column:cha;type:uint;default:0;" json:"cha"`
	//[53] dex                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Dex uint32 `gorm:"column:dex;type:uint;default:0;" json:"dex"`
	//[54] int                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Int uint32 `gorm:"column:int;type:uint;default:0;" json:"int"`
	//[55] agi                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Agi uint32 `gorm:"column:agi;type:uint;default:0;" json:"agi"`
	//[56] wis                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Wis uint32 `gorm:"column:wis;type:uint;default:0;" json:"wis"`
	//[57] zone_change_count                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ZoneChangeCount uint32 `gorm:"column:zone_change_count;type:uint;default:0;" json:"zone_change_count"`
	//[58] toxicity                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Toxicity uint32 `gorm:"column:toxicity;type:uint;default:0;" json:"toxicity"`
	//[59] hunger_level                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	HungerLevel uint32 `gorm:"column:hunger_level;type:uint;default:0;" json:"hunger_level"`
	//[60] thirst_level                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ThirstLevel uint32 `gorm:"column:thirst_level;type:uint;default:0;" json:"thirst_level"`
	//[61] ability_up                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AbilityUp uint32 `gorm:"column:ability_up;type:uint;default:0;" json:"ability_up"`
	//[62] ldon_points_guk                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsGuk uint32 `gorm:"column:ldon_points_guk;type:uint;default:0;" json:"ldon_points_guk"`
	//[63] ldon_points_mir                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsMir uint32 `gorm:"column:ldon_points_mir;type:uint;default:0;" json:"ldon_points_mir"`
	//[64] ldon_points_mmc                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsMmc uint32 `gorm:"column:ldon_points_mmc;type:uint;default:0;" json:"ldon_points_mmc"`
	//[65] ldon_points_ruj                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsRuj uint32 `gorm:"column:ldon_points_ruj;type:uint;default:0;" json:"ldon_points_ruj"`
	//[66] ldon_points_tak                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsTak uint32 `gorm:"column:ldon_points_tak;type:uint;default:0;" json:"ldon_points_tak"`
	//[67] ldon_points_available                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LdonPointsAvailable uint32 `gorm:"column:ldon_points_available;type:uint;default:0;" json:"ldon_points_available"`
	//[68] tribute_time_remaining                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TributeTimeRemaining uint32 `gorm:"column:tribute_time_remaining;type:uint;default:0;" json:"tribute_time_remaining"`
	//[69] career_tribute_points                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	CareerTributePoints uint32 `gorm:"column:career_tribute_points;type:uint;default:0;" json:"career_tribute_points"`
	//[70] tribute_points                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TributePoints uint32 `gorm:"column:tribute_points;type:uint;default:0;" json:"tribute_points"`
	//[71] tribute_active                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TributeActive uint32 `gorm:"column:tribute_active;type:uint;default:0;" json:"tribute_active"`
	//[72] pvp_status                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	PvpStatus uint32 `gorm:"column:pvp_status;type:utinyint;default:0;" json:"pvp_status"`
	//[73] pvp_kills                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpKills uint32 `gorm:"column:pvp_kills;type:uint;default:0;" json:"pvp_kills"`
	//[74] pvp_deaths                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpDeaths uint32 `gorm:"column:pvp_deaths;type:uint;default:0;" json:"pvp_deaths"`
	//[75] pvp_current_points                             uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpCurrentPoints uint32 `gorm:"column:pvp_current_points;type:uint;default:0;" json:"pvp_current_points"`
	//[76] pvp_career_points                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpCareerPoints uint32 `gorm:"column:pvp_career_points;type:uint;default:0;" json:"pvp_career_points"`
	//[77] pvp_best_kill_streak                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpBestKillStreak uint32 `gorm:"column:pvp_best_kill_streak;type:uint;default:0;" json:"pvp_best_kill_streak"`
	//[78] pvp_worst_death_streak                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpWorstDeathStreak uint32 `gorm:"column:pvp_worst_death_streak;type:uint;default:0;" json:"pvp_worst_death_streak"`
	//[79] pvp_current_kill_streak                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpCurrentKillStreak uint32 `gorm:"column:pvp_current_kill_streak;type:uint;default:0;" json:"pvp_current_kill_streak"`
	//[80] pvp2                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Pvp2 uint32 `gorm:"column:pvp2;type:uint;default:0;" json:"pvp_2"`
	//[81] pvp_type                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PvpType uint32 `gorm:"column:pvp_type;type:uint;default:0;" json:"pvp_type"`
	//[82] show_helm                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ShowHelm uint32 `gorm:"column:show_helm;type:uint;default:0;" json:"show_helm"`
	//[83] group_auto_consent                             utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	GroupAutoConsent uint32 `gorm:"column:group_auto_consent;type:utinyint;default:0;" json:"group_auto_consent"`
	//[84] raid_auto_consent                              utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	RaidAutoConsent uint32 `gorm:"column:raid_auto_consent;type:utinyint;default:0;" json:"raid_auto_consent"`
	//[85] guild_auto_consent                             utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	GuildAutoConsent uint32 `gorm:"column:guild_auto_consent;type:utinyint;default:0;" json:"guild_auto_consent"`
	//[86] leadership_exp_on                              utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	LeadershipExpOn uint32 `gorm:"column:leadership_exp_on;type:utinyint;default:0;" json:"leadership_exp_on"`
	//[87] RestTimer                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	RestTimer uint32 `gorm:"column:RestTimer;type:uint;default:0;" json:"rest_timer"`
	//[88] air_remaining                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AirRemaining uint32 `gorm:"column:air_remaining;type:uint;default:0;" json:"air_remaining"`
	//[89] autosplit_enabled                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AutosplitEnabled uint32 `gorm:"column:autosplit_enabled;type:uint;default:0;" json:"autosplit_enabled"`
	//[90] lfp                                            utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Lfp uint32 `gorm:"column:lfp;type:utinyint;default:0;" json:"lfp"`
	//[91] lfg                                            utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Lfg uint32 `gorm:"column:lfg;type:utinyint;default:0;" json:"lfg"`
	//[92] mailkey                                        char(16)             null: false  primary: false  isArray: false  auto: false  col: char            len: 16      default: [”]
	Mailkey string `gorm:"column:mailkey;type:char;size:16;default:'';" json:"mailkey"`
	//[93] xtargets                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [5]
	Xtargets uint32 `gorm:"column:xtargets;type:utinyint;default:5;" json:"xtargets"`
	//[94] firstlogon                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Firstlogon int32 `gorm:"column:firstlogon;type:tinyint;default:0;" json:"firstlogon"`
	//[95] e_aa_effects                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EAaEffects uint32 `gorm:"column:e_aa_effects;type:uint;default:0;" json:"e_aa_effects"`
	//[96] e_percent_to_aa                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EPercentToAa uint32 `gorm:"column:e_percent_to_aa;type:uint;default:0;" json:"e_percent_to_aa"`
	//[97] e_expended_aa_spent                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EExpendedAaSpent uint32 `gorm:"column:e_expended_aa_spent;type:uint;default:0;" json:"e_expended_aa_spent"`
	//[98] aa_points_spent_old                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AaPointsSpentOld uint32 `gorm:"column:aa_points_spent_old;type:uint;default:0;" json:"aa_points_spent_old"`
	//[99] aa_points_old                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AaPointsOld uint32 `gorm:"column:aa_points_old;type:uint;default:0;" json:"aa_points_old"`
	//[100] e_last_invsnapshot                             uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ELastInvsnapshot uint32 `gorm:"column:e_last_invsnapshot;type:uint;default:0;" json:"e_last_invsnapshot"`
	//[101] deleted_at                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	DeletedAt null.Time `gorm:"column:deleted_at;type:datetime;" json:"deleted_at"`
}

CharacterData struct is a row record of the character_data table in the eqemu database

func (*CharacterData) BeforeSave

func (c *CharacterData) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterData) Prepare

func (c *CharacterData) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterData) TableInfo

func (c *CharacterData) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterData) TableName

func (c *CharacterData) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterData) Validate

func (c *CharacterData) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterDisciplines

type CharacterDisciplines struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] slot_id                                        usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SlotID uint32 `gorm:"primary_key;column:slot_id;type:usmallint;default:0;" json:"slot_id"`
	//[ 2] disc_id                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	DiscID uint32 `gorm:"column:disc_id;type:usmallint;default:0;" json:"disc_id"`
}

CharacterDisciplines struct is a row record of the character_disciplines table in the eqemu database

func (*CharacterDisciplines) BeforeSave

func (c *CharacterDisciplines) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterDisciplines) Prepare

func (c *CharacterDisciplines) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterDisciplines) TableInfo

func (c *CharacterDisciplines) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterDisciplines) TableName

func (c *CharacterDisciplines) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterDisciplines) Validate

func (c *CharacterDisciplines) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterEnabledtasks

type CharacterEnabledtasks struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 1] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
}

CharacterEnabledtasks struct is a row record of the character_enabledtasks table in the eqemu database

func (*CharacterEnabledtasks) BeforeSave

func (c *CharacterEnabledtasks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterEnabledtasks) Prepare

func (c *CharacterEnabledtasks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterEnabledtasks) TableInfo

func (c *CharacterEnabledtasks) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterEnabledtasks) TableName

func (c *CharacterEnabledtasks) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterEnabledtasks) Validate

func (c *CharacterEnabledtasks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterInspectMessages

type CharacterInspectMessages struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] inspect_message                                varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	InspectMessage string `gorm:"column:inspect_message;type:varchar;size:255;default:'';" json:"inspect_message"`
}

CharacterInspectMessages struct is a row record of the character_inspect_messages table in the eqemu database

func (*CharacterInspectMessages) BeforeSave

func (c *CharacterInspectMessages) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterInspectMessages) Prepare

func (c *CharacterInspectMessages) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterInspectMessages) TableInfo

func (c *CharacterInspectMessages) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterInspectMessages) TableName

func (c *CharacterInspectMessages) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterInspectMessages) Validate

func (c *CharacterInspectMessages) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterItemRecast

type CharacterItemRecast struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] recast_type                                    usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	RecastType uint32 `gorm:"primary_key;column:recast_type;type:usmallint;default:0;" json:"recast_type"`
	//[ 2] timestamp                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Timestamp uint32 `gorm:"column:timestamp;type:uint;default:0;" json:"timestamp"`
}

CharacterItemRecast struct is a row record of the character_item_recast table in the eqemu database

func (*CharacterItemRecast) BeforeSave

func (c *CharacterItemRecast) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterItemRecast) Prepare

func (c *CharacterItemRecast) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterItemRecast) TableInfo

func (c *CharacterItemRecast) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterItemRecast) TableName

func (c *CharacterItemRecast) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterItemRecast) Validate

func (c *CharacterItemRecast) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterLanguages

type CharacterLanguages struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] lang_id                                        usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	LangID uint32 `gorm:"primary_key;column:lang_id;type:usmallint;default:0;" json:"lang_id"`
	//[ 2] value                                          usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Value uint32 `gorm:"column:value;type:usmallint;default:0;" json:"value"`
}

CharacterLanguages struct is a row record of the character_languages table in the eqemu database

func (*CharacterLanguages) BeforeSave

func (c *CharacterLanguages) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterLanguages) Prepare

func (c *CharacterLanguages) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterLanguages) TableInfo

func (c *CharacterLanguages) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterLanguages) TableName

func (c *CharacterLanguages) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterLanguages) Validate

func (c *CharacterLanguages) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterLeadershipAbilities

type CharacterLeadershipAbilities struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] slot                                           usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Slot uint32 `gorm:"primary_key;column:slot;type:usmallint;default:0;" json:"slot"`
	//[ 2] rank                                           usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Rank uint32 `gorm:"column:rank;type:usmallint;default:0;" json:"rank"`
}

CharacterLeadershipAbilities struct is a row record of the character_leadership_abilities table in the eqemu database

func (*CharacterLeadershipAbilities) BeforeSave

func (c *CharacterLeadershipAbilities) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterLeadershipAbilities) Prepare

func (c *CharacterLeadershipAbilities) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterLeadershipAbilities) TableInfo

func (c *CharacterLeadershipAbilities) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterLeadershipAbilities) TableName

func (c *CharacterLeadershipAbilities) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterLeadershipAbilities) Validate

func (c *CharacterLeadershipAbilities) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterMaterial

type CharacterMaterial struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] slot                                           utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Slot uint32 `gorm:"primary_key;column:slot;type:utinyint;default:0;" json:"slot"`
	//[ 2] blue                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blue uint32 `gorm:"column:blue;type:utinyint;default:0;" json:"blue"`
	//[ 3] green                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Green uint32 `gorm:"column:green;type:utinyint;default:0;" json:"green"`
	//[ 4] red                                            utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red uint32 `gorm:"column:red;type:utinyint;default:0;" json:"red"`
	//[ 5] use_tint                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	UseTint uint32 `gorm:"column:use_tint;type:utinyint;default:0;" json:"use_tint"`
	//[ 6] color                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Color uint32 `gorm:"column:color;type:uint;default:0;" json:"color"`
}

CharacterMaterial struct is a row record of the character_material table in the eqemu database

func (*CharacterMaterial) BeforeSave

func (c *CharacterMaterial) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterMaterial) Prepare

func (c *CharacterMaterial) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterMaterial) TableInfo

func (c *CharacterMaterial) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterMaterial) TableName

func (c *CharacterMaterial) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterMaterial) Validate

func (c *CharacterMaterial) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterMemmedSpells

type CharacterMemmedSpells struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] slot_id                                        usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SlotID uint32 `gorm:"primary_key;column:slot_id;type:usmallint;default:0;" json:"slot_id"`
	//[ 2] spell_id                                       usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SpellID uint32 `gorm:"column:spell_id;type:usmallint;default:0;" json:"spell_id"`
}

CharacterMemmedSpells struct is a row record of the character_memmed_spells table in the eqemu database

func (*CharacterMemmedSpells) BeforeSave

func (c *CharacterMemmedSpells) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterMemmedSpells) Prepare

func (c *CharacterMemmedSpells) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterMemmedSpells) TableInfo

func (c *CharacterMemmedSpells) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterMemmedSpells) TableName

func (c *CharacterMemmedSpells) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterMemmedSpells) Validate

func (c *CharacterMemmedSpells) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterPetBuffs

type CharacterPetBuffs struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	CharID int32 `gorm:"primary_key;column:char_id;type:int;" json:"char_id"`
	//[ 1] pet                                            int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Pet int32 `gorm:"primary_key;column:pet;type:int;" json:"pet"`
	//[ 2] slot                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Slot int32 `gorm:"primary_key;column:slot;type:int;" json:"slot"`
	//[ 3] spell_id                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	SpellID int32 `gorm:"column:spell_id;type:int;" json:"spell_id"`
	//[ 4] caster_level                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	CasterLevel int32 `gorm:"column:caster_level;type:tinyint;default:0;" json:"caster_level"`
	//[ 5] castername                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Castername string `gorm:"column:castername;type:varchar;size:64;default:'';" json:"castername"`
	//[ 6] ticsremaining                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Ticsremaining int32 `gorm:"column:ticsremaining;type:int;default:0;" json:"ticsremaining"`
	//[ 7] counters                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Counters int32 `gorm:"column:counters;type:int;default:0;" json:"counters"`
	//[ 8] numhits                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Numhits int32 `gorm:"column:numhits;type:int;default:0;" json:"numhits"`
	//[ 9] rune                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Rune int32 `gorm:"column:rune;type:int;default:0;" json:"rune"`
	//[10] instrument_mod                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [10]
	InstrumentMod uint32 `gorm:"column:instrument_mod;type:utinyint;default:10;" json:"instrument_mod"`
}

CharacterPetBuffs struct is a row record of the character_pet_buffs table in the eqemu database

func (*CharacterPetBuffs) BeforeSave

func (c *CharacterPetBuffs) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterPetBuffs) Prepare

func (c *CharacterPetBuffs) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterPetBuffs) TableInfo

func (c *CharacterPetBuffs) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterPetBuffs) TableName

func (c *CharacterPetBuffs) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterPetBuffs) Validate

func (c *CharacterPetBuffs) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterPetInfo

type CharacterPetInfo struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	CharID int32 `gorm:"primary_key;column:char_id;type:int;" json:"char_id"`
	//[ 1] pet                                            int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Pet int32 `gorm:"primary_key;column:pet;type:int;" json:"pet"`
	//[ 2] petname                                        varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Petname string `gorm:"column:petname;type:varchar;size:64;default:'';" json:"petname"`
	//[ 3] petpower                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Petpower int32 `gorm:"column:petpower;type:int;default:0;" json:"petpower"`
	//[ 4] spell_id                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SpellID int32 `gorm:"column:spell_id;type:int;default:0;" json:"spell_id"`
	//[ 5] hp                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Hp int32 `gorm:"column:hp;type:int;default:0;" json:"hp"`
	//[ 6] mana                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Mana int32 `gorm:"column:mana;type:int;default:0;" json:"mana"`
	//[ 7] size                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Size float32 `gorm:"column:size;type:float;default:0;" json:"size"`
}

CharacterPetInfo struct is a row record of the character_pet_info table in the eqemu database

func (*CharacterPetInfo) BeforeSave

func (c *CharacterPetInfo) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterPetInfo) Prepare

func (c *CharacterPetInfo) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterPetInfo) TableInfo

func (c *CharacterPetInfo) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterPetInfo) TableName

func (c *CharacterPetInfo) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterPetInfo) Validate

func (c *CharacterPetInfo) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterPetInventory

type CharacterPetInventory struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	CharID int32 `gorm:"primary_key;column:char_id;type:int;" json:"char_id"`
	//[ 1] pet                                            int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Pet int32 `gorm:"primary_key;column:pet;type:int;" json:"pet"`
	//[ 2] slot                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Slot int32 `gorm:"primary_key;column:slot;type:int;" json:"slot"`
	//[ 3] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItemID int32 `gorm:"column:item_id;type:int;" json:"item_id"`
}

CharacterPetInventory struct is a row record of the character_pet_inventory table in the eqemu database

func (*CharacterPetInventory) BeforeSave

func (c *CharacterPetInventory) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterPetInventory) Prepare

func (c *CharacterPetInventory) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterPetInventory) TableInfo

func (c *CharacterPetInventory) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterPetInventory) TableName

func (c *CharacterPetInventory) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterPetInventory) Validate

func (c *CharacterPetInventory) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterPotionbelt

type CharacterPotionbelt struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] potion_id                                      utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	PotionID uint32 `gorm:"primary_key;column:potion_id;type:utinyint;default:0;" json:"potion_id"`
	//[ 2] item_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemID uint32 `gorm:"column:item_id;type:uint;default:0;" json:"item_id"`
	//[ 3] icon                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Icon uint32 `gorm:"column:icon;type:uint;default:0;" json:"icon"`
}

CharacterPotionbelt struct is a row record of the character_potionbelt table in the eqemu database

func (*CharacterPotionbelt) BeforeSave

func (c *CharacterPotionbelt) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterPotionbelt) Prepare

func (c *CharacterPotionbelt) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterPotionbelt) TableInfo

func (c *CharacterPotionbelt) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterPotionbelt) TableName

func (c *CharacterPotionbelt) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterPotionbelt) Validate

func (c *CharacterPotionbelt) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterSkills

type CharacterSkills struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] skill_id                                       usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SkillID uint32 `gorm:"primary_key;column:skill_id;type:usmallint;default:0;" json:"skill_id"`
	//[ 2] value                                          usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Value uint32 `gorm:"column:value;type:usmallint;default:0;" json:"value"`
}

CharacterSkills struct is a row record of the character_skills table in the eqemu database

func (*CharacterSkills) BeforeSave

func (c *CharacterSkills) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterSkills) Prepare

func (c *CharacterSkills) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterSkills) TableInfo

func (c *CharacterSkills) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterSkills) TableName

func (c *CharacterSkills) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterSkills) Validate

func (c *CharacterSkills) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterSpells

type CharacterSpells struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] slot_id                                        usmallint            null: false  primary: true   isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SlotID uint32 `gorm:"primary_key;column:slot_id;type:usmallint;default:0;" json:"slot_id"`
	//[ 2] spell_id                                       usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SpellID uint32 `gorm:"column:spell_id;type:usmallint;default:0;" json:"spell_id"`
}

CharacterSpells struct is a row record of the character_spells table in the eqemu database

func (*CharacterSpells) BeforeSave

func (c *CharacterSpells) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterSpells) Prepare

func (c *CharacterSpells) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterSpells) TableInfo

func (c *CharacterSpells) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterSpells) TableName

func (c *CharacterSpells) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterSpells) Validate

func (c *CharacterSpells) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterTasks

type CharacterTasks struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 1] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
	//[ 2] slot                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Slot uint32 `gorm:"column:slot;type:uint;default:0;" json:"slot"`
	//[ 3] type                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Type int32 `gorm:"column:type;type:tinyint;default:0;" json:"type"`
	//[ 4] acceptedtime                                   uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [NULL]
	Acceptedtime null.Int `gorm:"column:acceptedtime;type:uint;" json:"acceptedtime"`
}

CharacterTasks struct is a row record of the character_tasks table in the eqemu database

func (*CharacterTasks) BeforeSave

func (c *CharacterTasks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterTasks) Prepare

func (c *CharacterTasks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterTasks) TableInfo

func (c *CharacterTasks) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterTasks) TableName

func (c *CharacterTasks) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterTasks) Validate

func (c *CharacterTasks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CharacterTribute

type CharacterTribute struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] tier                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Tier uint32 `gorm:"column:tier;type:utinyint;default:0;" json:"tier"`
	//[ 2] tribute                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Tribute uint32 `gorm:"column:tribute;type:uint;default:0;" json:"tribute"`
}

CharacterTribute struct is a row record of the character_tribute table in the eqemu database

func (*CharacterTribute) BeforeSave

func (c *CharacterTribute) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CharacterTribute) Prepare

func (c *CharacterTribute) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CharacterTribute) TableInfo

func (c *CharacterTribute) TableInfo() *TableInfo

TableInfo return table meta data

func (*CharacterTribute) TableName

func (c *CharacterTribute) TableName() string

TableName sets the insert table name for this struct type

func (*CharacterTribute) Validate

func (c *CharacterTribute) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Chatchannels

type Chatchannels struct {
	//[ 0] name                                           varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"primary_key;column:name;type:varchar;size:64;default:'';" json:"name"`
	//[ 1] owner                                          varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Owner string `gorm:"column:owner;type:varchar;size:64;default:'';" json:"owner"`
	//[ 2] password                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Password string `gorm:"column:password;type:varchar;size:64;default:'';" json:"password"`
	//[ 3] minstatus                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Minstatus int32 `gorm:"column:minstatus;type:int;default:0;" json:"minstatus"`
}

Chatchannels struct is a row record of the chatchannels table in the eqemu database

func (*Chatchannels) BeforeSave

func (c *Chatchannels) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Chatchannels) Prepare

func (c *Chatchannels) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Chatchannels) TableInfo

func (c *Chatchannels) TableInfo() *TableInfo

TableInfo return table meta data

func (*Chatchannels) TableName

func (c *Chatchannels) TableName() string

TableName sets the insert table name for this struct type

func (*Chatchannels) Validate

func (c *Chatchannels) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ColumnInfo

type ColumnInfo struct {
	Index              int    `json:"index"`
	GoFieldName        string `json:"go_field_name"`
	GoFieldType        string `json:"go_field_type"`
	JSONFieldName      string `json:"json_field_name"`
	ProtobufFieldName  string `json:"protobuf_field_name"`
	ProtobufType       string `json:"protobuf_field_type"`
	ProtobufPos        int    `json:"protobuf_field_pos"`
	Comment            string `json:"comment"`
	Notes              string `json:"notes"`
	Name               string `json:"name"`
	Nullable           bool   `json:"is_nullable"`
	DatabaseTypeName   string `json:"database_type_name"`
	DatabaseTypePretty string `json:"database_type_pretty"`
	IsPrimaryKey       bool   `json:"is_primary_key"`
	IsAutoIncrement    bool   `json:"is_auto_increment"`
	IsArray            bool   `json:"is_array"`
	ColumnType         string `json:"column_type"`
	ColumnLength       int64  `json:"column_length"`
	DefaultValue       string `json:"default_value"`
}

ColumnInfo describes a column in the database table

type CommandSettings

type CommandSettings struct {
	//[ 0] command                                        varchar(128)         null: false  primary: true   isArray: false  auto: false  col: varchar         len: 128     default: [”]
	Command string `gorm:"primary_key;column:command;type:varchar;size:128;default:'';" json:"command"`
	//[ 1] access                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Access int32 `gorm:"column:access;type:int;default:0;" json:"access"`
	//[ 2] aliases                                        varchar(256)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 256     default: [”]
	Aliases string `gorm:"column:aliases;type:varchar;size:256;default:'';" json:"aliases"`
}

CommandSettings struct is a row record of the command_settings table in the eqemu database

func (*CommandSettings) BeforeSave

func (c *CommandSettings) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CommandSettings) Prepare

func (c *CommandSettings) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CommandSettings) TableInfo

func (c *CommandSettings) TableInfo() *TableInfo

TableInfo return table meta data

func (*CommandSettings) TableName

func (c *CommandSettings) TableName() string

TableName sets the insert table name for this struct type

func (*CommandSettings) Validate

func (c *CommandSettings) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type CompletedTasks

type CompletedTasks struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 1] completedtime                                  uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Completedtime uint32 `gorm:"primary_key;column:completedtime;type:uint;default:0;" json:"completedtime"`
	//[ 2] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
	//[ 3] activityid                                     int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Activityid int32 `gorm:"primary_key;column:activityid;type:int;default:0;" json:"activityid"`
}

CompletedTasks struct is a row record of the completed_tasks table in the eqemu database

func (*CompletedTasks) BeforeSave

func (c *CompletedTasks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*CompletedTasks) Prepare

func (c *CompletedTasks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*CompletedTasks) TableInfo

func (c *CompletedTasks) TableInfo() *TableInfo

TableInfo return table meta data

func (*CompletedTasks) TableName

func (c *CompletedTasks) TableName() string

TableName sets the insert table name for this struct type

func (*CompletedTasks) Validate

func (c *CompletedTasks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ContentFlags

type ContentFlags struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] flag_name                                      varchar(75)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 75      default: [NULL]
	FlagName null.String `gorm:"column:flag_name;type:varchar;size:75;" json:"flag_name"`
	//[ 2] enabled                                        tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [NULL]
	Enabled null.Int `gorm:"column:enabled;type:tinyint;" json:"enabled"`
	//[ 3] notes                                          text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Notes null.String `gorm:"column:notes;type:text;size:65535;" json:"notes"`
}

ContentFlags struct is a row record of the content_flags table in the eqemu database

func (*ContentFlags) BeforeSave

func (c *ContentFlags) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ContentFlags) Prepare

func (c *ContentFlags) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ContentFlags) TableInfo

func (c *ContentFlags) TableInfo() *TableInfo

TableInfo return table meta data

func (*ContentFlags) TableName

func (c *ContentFlags) TableName() string

TableName sets the insert table name for this struct type

func (*ContentFlags) Validate

func (c *ContentFlags) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Damageshieldtypes

type Damageshieldtypes struct {
	//[ 0] spellid                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Spellid uint32 `gorm:"primary_key;column:spellid;type:uint;default:0;" json:"spellid"`
	//[ 1] type                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Type uint32 `gorm:"column:type;type:utinyint;default:0;" json:"type"`
}

Damageshieldtypes struct is a row record of the damageshieldtypes table in the eqemu database

func (*Damageshieldtypes) BeforeSave

func (d *Damageshieldtypes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Damageshieldtypes) Prepare

func (d *Damageshieldtypes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Damageshieldtypes) TableInfo

func (d *Damageshieldtypes) TableInfo() *TableInfo

TableInfo return table meta data

func (*Damageshieldtypes) TableName

func (d *Damageshieldtypes) TableName() string

TableName sets the insert table name for this struct type

func (*Damageshieldtypes) Validate

func (d *Damageshieldtypes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type DataBuckets

type DataBuckets struct {
	//[ 0] id                                             ubigint              null: false  primary: true   isArray: false  auto: true   col: ubigint         len: -1      default: []
	ID uint64 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:ubigint;" json:"id"`
	//[ 1] key                                            varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	Key null.String `gorm:"column:key;type:varchar;size:100;" json:"key"`
	//[ 2] value                                          text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Value null.String `gorm:"column:value;type:text;size:65535;" json:"value"`
	//[ 3] expires                                        uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Expires null.Int `gorm:"column:expires;type:uint;default:0;" json:"expires"`
}

DataBuckets struct is a row record of the data_buckets table in the eqemu database

func (*DataBuckets) BeforeSave

func (d *DataBuckets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*DataBuckets) Prepare

func (d *DataBuckets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*DataBuckets) TableInfo

func (d *DataBuckets) TableInfo() *TableInfo

TableInfo return table meta data

func (*DataBuckets) TableName

func (d *DataBuckets) TableName() string

TableName sets the insert table name for this struct type

func (*DataBuckets) Validate

func (d *DataBuckets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type DbStr

type DbStr struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;column:id;type:int;" json:"id"`
	//[ 1] type                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Type int32 `gorm:"primary_key;column:type;type:int;" json:"type"`
	//[ 2] value                                          text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Value string `gorm:"column:value;type:text;size:65535;" json:"value"`
}

DbStr struct is a row record of the db_str table in the eqemu database

func (*DbStr) BeforeSave

func (d *DbStr) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*DbStr) Prepare

func (d *DbStr) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*DbStr) TableInfo

func (d *DbStr) TableInfo() *TableInfo

TableInfo return table meta data

func (*DbStr) TableName

func (d *DbStr) TableName() string

TableName sets the insert table name for this struct type

func (*DbStr) Validate

func (d *DbStr) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type DbVersion

type DbVersion struct {
	//[ 0] version                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Version int32 `gorm:"primary_key;column:version;type:int;default:0;" json:"version"`
}

DbVersion struct is a row record of the db_version table in the eqemu database

func (*DbVersion) BeforeSave

func (d *DbVersion) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*DbVersion) Prepare

func (d *DbVersion) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*DbVersion) TableInfo

func (d *DbVersion) TableInfo() *TableInfo

TableInfo return table meta data

func (*DbVersion) TableName

func (d *DbVersion) TableName() string

TableName sets the insert table name for this struct type

func (*DbVersion) Validate

func (d *DbVersion) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type DiscoveredItems

type DiscoveredItems struct {
	//[ 0] item_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemID uint32 `gorm:"primary_key;column:item_id;type:uint;default:0;" json:"item_id"`
	//[ 1] char_name                                      varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	CharName string `gorm:"column:char_name;type:varchar;size:64;default:'';" json:"char_name"`
	//[ 2] discovered_date                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DiscoveredDate uint32 `gorm:"column:discovered_date;type:uint;default:0;" json:"discovered_date"`
	//[ 3] account_status                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	AccountStatus int32 `gorm:"column:account_status;type:int;default:0;" json:"account_status"`
}

DiscoveredItems struct is a row record of the discovered_items table in the eqemu database

func (*DiscoveredItems) BeforeSave

func (d *DiscoveredItems) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*DiscoveredItems) Prepare

func (d *DiscoveredItems) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*DiscoveredItems) TableInfo

func (d *DiscoveredItems) TableInfo() *TableInfo

TableInfo return table meta data

func (*DiscoveredItems) TableName

func (d *DiscoveredItems) TableName() string

TableName sets the insert table name for this struct type

func (*DiscoveredItems) Validate

func (d *DiscoveredItems) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Doors

type Doors struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] doorid                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Doorid int32 `gorm:"column:doorid;type:smallint;default:0;" json:"doorid"`
	//[ 2] zone                                           varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Zone null.String `gorm:"column:zone;type:varchar;size:32;" json:"zone"`
	//[ 3] version                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Version int32 `gorm:"column:version;type:smallint;default:0;" json:"version"`
	//[ 4] name                                           varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Name string `gorm:"column:name;type:varchar;size:32;default:'';" json:"name"`
	//[ 5] pos_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosY float32 `gorm:"column:pos_y;type:float;default:0;" json:"pos_y"`
	//[ 6] pos_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosX float32 `gorm:"column:pos_x;type:float;default:0;" json:"pos_x"`
	//[ 7] pos_z                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	PosZ float32 `gorm:"column:pos_z;type:float;default:0;" json:"pos_z"`
	//[ 8] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 9] opentype                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Opentype int32 `gorm:"column:opentype;type:smallint;default:0;" json:"opentype"`
	//[10] guild                                          smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Guild int32 `gorm:"column:guild;type:smallint;default:0;" json:"guild"`
	//[11] lockpick                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Lockpick int32 `gorm:"column:lockpick;type:smallint;default:0;" json:"lockpick"`
	//[12] keyitem                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Keyitem int32 `gorm:"column:keyitem;type:int;default:0;" json:"keyitem"`
	//[13] nokeyring                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Nokeyring uint32 `gorm:"column:nokeyring;type:utinyint;default:0;" json:"nokeyring"`
	//[14] triggerdoor                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Triggerdoor int32 `gorm:"column:triggerdoor;type:smallint;default:0;" json:"triggerdoor"`
	//[15] triggertype                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Triggertype int32 `gorm:"column:triggertype;type:smallint;default:0;" json:"triggertype"`
	//[16] disable_timer                                  tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	DisableTimer int32 `gorm:"column:disable_timer;type:tinyint;default:0;" json:"disable_timer"`
	//[17] doorisopen                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Doorisopen int32 `gorm:"column:doorisopen;type:smallint;default:0;" json:"doorisopen"`
	//[18] door_param                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DoorParam int32 `gorm:"column:door_param;type:int;default:0;" json:"door_param"`
	//[19] dest_zone                                      varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: ['NONE']
	DestZone null.String `gorm:"column:dest_zone;type:varchar;size:32;default:'NONE';" json:"dest_zone"`
	//[20] dest_instance                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	DestInstance uint32 `gorm:"column:dest_instance;type:uint;default:0;" json:"dest_instance"`
	//[21] dest_x                                         float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestX null.Float `gorm:"column:dest_x;type:float;default:0;" json:"dest_x"`
	//[22] dest_y                                         float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestY null.Float `gorm:"column:dest_y;type:float;default:0;" json:"dest_y"`
	//[23] dest_z                                         float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestZ null.Float `gorm:"column:dest_z;type:float;default:0;" json:"dest_z"`
	//[24] dest_heading                                   float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DestHeading null.Float `gorm:"column:dest_heading;type:float;default:0;" json:"dest_heading"`
	//[25] invert_state                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	InvertState null.Int `gorm:"column:invert_state;type:int;default:0;" json:"invert_state"`
	//[26] incline                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Incline null.Int `gorm:"column:incline;type:int;default:0;" json:"incline"`
	//[27] size                                           usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [100]
	Size uint32 `gorm:"column:size;type:usmallint;default:100;" json:"size"`
	//[28] buffer                                         float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Buffer null.Float `gorm:"column:buffer;type:float;default:0;" json:"buffer"`
	//[29] client_version_mask                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [4294967295]
	ClientVersionMask uint32 `gorm:"column:client_version_mask;type:uint;default:4294967295;" json:"client_version_mask"`
	//[30] is_ldon_door                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	IsLdonDoor int32 `gorm:"column:is_ldon_door;type:smallint;default:0;" json:"is_ldon_door"`
	//[31] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[32] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[33] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[34] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Doors struct is a row record of the doors table in the eqemu database

func (*Doors) BeforeSave

func (d *Doors) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Doors) Prepare

func (d *Doors) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Doors) TableInfo

func (d *Doors) TableInfo() *TableInfo

TableInfo return table meta data

func (*Doors) TableName

func (d *Doors) TableName() string

TableName sets the insert table name for this struct type

func (*Doors) Validate

func (d *Doors) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Eqtime

type Eqtime struct {
	//[ 0] minute                                         tinyint              null: false  primary: true   isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Minute int32 `gorm:"primary_key;column:minute;type:tinyint;default:0;" json:"minute"`
	//[ 1] hour                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Hour int32 `gorm:"column:hour;type:tinyint;default:0;" json:"hour"`
	//[ 2] day                                            tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Day int32 `gorm:"column:day;type:tinyint;default:0;" json:"day"`
	//[ 3] month                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Month int32 `gorm:"column:month;type:tinyint;default:0;" json:"month"`
	//[ 4] year                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Year int32 `gorm:"column:year;type:int;default:0;" json:"year"`
	//[ 5] realtime                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Realtime int32 `gorm:"column:realtime;type:int;default:0;" json:"realtime"`
}

Eqtime struct is a row record of the eqtime table in the eqemu database

func (*Eqtime) BeforeSave

func (e *Eqtime) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Eqtime) Prepare

func (e *Eqtime) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Eqtime) TableInfo

func (e *Eqtime) TableInfo() *TableInfo

TableInfo return table meta data

func (*Eqtime) TableName

func (e *Eqtime) TableName() string

TableName sets the insert table name for this struct type

func (*Eqtime) Validate

func (e *Eqtime) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Eventlog

type Eventlog struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] accountname                                    varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Accountname string `gorm:"column:accountname;type:varchar;size:30;default:'';" json:"accountname"`
	//[ 2] accountid                                      uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Accountid null.Int `gorm:"column:accountid;type:uint;default:0;" json:"accountid"`
	//[ 3] status                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Status int32 `gorm:"column:status;type:int;default:0;" json:"status"`
	//[ 4] charname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Charname string `gorm:"column:charname;type:varchar;size:64;default:'';" json:"charname"`
	//[ 5] target                                         varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['None']
	Target null.String `gorm:"column:target;type:varchar;size:64;default:'None';" json:"target"`
	//[ 6] time                                           timestamp            null: false  primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [current_timestamp()]
	Time time.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 7] descriptiontype                                varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: [”]
	Descriptiontype string `gorm:"column:descriptiontype;type:varchar;size:50;default:'';" json:"descriptiontype"`
	//[ 8] description                                    text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Description string `gorm:"column:description;type:text;size:65535;" json:"description"`
	//[ 9] event_nid                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EventNid int32 `gorm:"column:event_nid;type:int;default:0;" json:"event_nid"`
}

Eventlog struct is a row record of the eventlog table in the eqemu database

func (*Eventlog) BeforeSave

func (e *Eventlog) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Eventlog) Prepare

func (e *Eventlog) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Eventlog) TableInfo

func (e *Eventlog) TableInfo() *TableInfo

TableInfo return table meta data

func (*Eventlog) TableName

func (e *Eventlog) TableName() string

TableName sets the insert table name for this struct type

func (*Eventlog) Validate

func (e *Eventlog) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type FactionBaseData

type FactionBaseData struct {
	//[ 0] client_faction_id                              smallint             null: false  primary: true   isArray: false  auto: false  col: smallint        len: -1      default: []
	ClientFactionID int32 `gorm:"primary_key;column:client_faction_id;type:smallint;" json:"client_faction_id"`
	//[ 1] min                                            smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-2000]
	Min null.Int `gorm:"column:min;type:smallint;default:-2000;" json:"min"`
	//[ 2] max                                            smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [2000]
	Max null.Int `gorm:"column:max;type:smallint;default:2000;" json:"max"`
	//[ 3] unk_hero1                                      smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [NULL]
	UnkHero1 null.Int `gorm:"column:unk_hero1;type:smallint;" json:"unk_hero_1"`
	//[ 4] unk_hero2                                      smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [NULL]
	UnkHero2 null.Int `gorm:"column:unk_hero2;type:smallint;" json:"unk_hero_2"`
	//[ 5] unk_hero3                                      smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [NULL]
	UnkHero3 null.Int `gorm:"column:unk_hero3;type:smallint;" json:"unk_hero_3"`
}

FactionBaseData struct is a row record of the faction_base_data table in the eqemu database

func (*FactionBaseData) BeforeSave

func (f *FactionBaseData) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*FactionBaseData) Prepare

func (f *FactionBaseData) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*FactionBaseData) TableInfo

func (f *FactionBaseData) TableInfo() *TableInfo

TableInfo return table meta data

func (*FactionBaseData) TableName

func (f *FactionBaseData) TableName() string

TableName sets the insert table name for this struct type

func (*FactionBaseData) Validate

func (f *FactionBaseData) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type FactionList

type FactionList struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: [”]
	Name string `gorm:"column:name;type:varchar;size:50;default:'';" json:"name"`
	//[ 2] base                                           smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Base int32 `gorm:"column:base;type:smallint;default:0;" json:"base"`
}

FactionList struct is a row record of the faction_list table in the eqemu database

func (*FactionList) BeforeSave

func (f *FactionList) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*FactionList) Prepare

func (f *FactionList) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*FactionList) TableInfo

func (f *FactionList) TableInfo() *TableInfo

TableInfo return table meta data

func (*FactionList) TableName

func (f *FactionList) TableName() string

TableName sets the insert table name for this struct type

func (*FactionList) Validate

func (f *FactionList) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type FactionListMod

type FactionListMod struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] faction_id                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	FactionID uint32 `gorm:"column:faction_id;type:uint;" json:"faction_id"`
	//[ 2] mod                                            smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: []
	Mod int32 `gorm:"column:mod;type:smallint;" json:"mod"`
	//[ 3] mod_name                                       varchar(16)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 16      default: []
	ModName string `gorm:"column:mod_name;type:varchar;size:16;" json:"mod_name"`
}

FactionListMod struct is a row record of the faction_list_mod table in the eqemu database

func (*FactionListMod) BeforeSave

func (f *FactionListMod) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*FactionListMod) Prepare

func (f *FactionListMod) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*FactionListMod) TableInfo

func (f *FactionListMod) TableInfo() *TableInfo

TableInfo return table meta data

func (*FactionListMod) TableName

func (f *FactionListMod) TableName() string

TableName sets the insert table name for this struct type

func (*FactionListMod) Validate

func (f *FactionListMod) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type FactionValues

type FactionValues struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:char_id;type:int;default:0;" json:"char_id"`
	//[ 1] faction_id                                     int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	FactionID int32 `gorm:"primary_key;column:faction_id;type:int;default:0;" json:"faction_id"`
	//[ 2] current_value                                  smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	CurrentValue int32 `gorm:"column:current_value;type:smallint;default:0;" json:"current_value"`
	//[ 3] temp                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Temp int32 `gorm:"column:temp;type:tinyint;default:0;" json:"temp"`
}

FactionValues struct is a row record of the faction_values table in the eqemu database

func (*FactionValues) BeforeSave

func (f *FactionValues) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*FactionValues) Prepare

func (f *FactionValues) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*FactionValues) TableInfo

func (f *FactionValues) TableInfo() *TableInfo

TableInfo return table meta data

func (*FactionValues) TableName

func (f *FactionValues) TableName() string

TableName sets the insert table name for this struct type

func (*FactionValues) Validate

func (f *FactionValues) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Fishing

type Fishing struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zoneid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 2] Itemid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemid int32 `gorm:"column:Itemid;type:int;default:0;" json:"itemid"`
	//[ 3] skill_level                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	SkillLevel int32 `gorm:"column:skill_level;type:smallint;default:0;" json:"skill_level"`
	//[ 4] chance                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Chance int32 `gorm:"column:chance;type:smallint;default:0;" json:"chance"`
	//[ 5] npc_id                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcID int32 `gorm:"column:npc_id;type:int;default:0;" json:"npc_id"`
	//[ 6] npc_chance                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcChance int32 `gorm:"column:npc_chance;type:int;default:0;" json:"npc_chance"`
	//[ 7] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[ 8] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[ 9] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[10] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Fishing struct is a row record of the fishing table in the eqemu database

func (*Fishing) BeforeSave

func (f *Fishing) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Fishing) Prepare

func (f *Fishing) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Fishing) TableInfo

func (f *Fishing) TableInfo() *TableInfo

TableInfo return table meta data

func (*Fishing) TableName

func (f *Fishing) TableName() string

TableName sets the insert table name for this struct type

func (*Fishing) Validate

func (f *Fishing) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Forage

type Forage struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zoneid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 2] Itemid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemid int32 `gorm:"column:Itemid;type:int;default:0;" json:"itemid"`
	//[ 3] level                                          smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Level int32 `gorm:"column:level;type:smallint;default:0;" json:"level"`
	//[ 4] chance                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Chance int32 `gorm:"column:chance;type:smallint;default:0;" json:"chance"`
	//[ 5] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[ 6] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[ 7] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[ 8] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Forage struct is a row record of the forage table in the eqemu database

func (*Forage) BeforeSave

func (f *Forage) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Forage) Prepare

func (f *Forage) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Forage) TableInfo

func (f *Forage) TableInfo() *TableInfo

TableInfo return table meta data

func (*Forage) TableName

func (f *Forage) TableName() string

TableName sets the insert table name for this struct type

func (*Forage) Validate

func (f *Forage) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Friends

type Friends struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;" json:"charid"`
	//[ 1] type                                           utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Type uint32 `gorm:"primary_key;column:type;type:utinyint;default:1;" json:"type"` // 1 = Friend, 0 = Ignore
	//[ 2] name                                           varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"primary_key;column:name;type:varchar;size:64;" json:"name"`
}

Friends struct is a row record of the friends table in the eqemu database

func (*Friends) BeforeSave

func (f *Friends) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Friends) Prepare

func (f *Friends) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Friends) TableInfo

func (f *Friends) TableInfo() *TableInfo

TableInfo return table meta data

func (*Friends) TableName

func (f *Friends) TableName() string

TableName sets the insert table name for this struct type

func (*Friends) Validate

func (f *Friends) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GlobalLoot

type GlobalLoot struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] description                                    varchar(255)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [NULL]
	Description null.String `gorm:"column:description;type:varchar;size:255;" json:"description"`
	//[ 2] loottable_id                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	LoottableID int32 `gorm:"column:loottable_id;type:int;" json:"loottable_id"`
	//[ 3] enabled                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Enabled int32 `gorm:"column:enabled;type:tinyint;default:1;" json:"enabled"`
	//[ 4] min_level                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MinLevel int32 `gorm:"column:min_level;type:int;default:0;" json:"min_level"`
	//[ 5] max_level                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MaxLevel int32 `gorm:"column:max_level;type:int;default:0;" json:"max_level"`
	//[ 6] rare                                           tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [NULL]
	Rare null.Int `gorm:"column:rare;type:tinyint;" json:"rare"`
	//[ 7] raid                                           tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [NULL]
	Raid null.Int `gorm:"column:raid;type:tinyint;" json:"raid"`
	//[ 8] race                                           text(16777215)       null: true   primary: false  isArray: false  auto: false  col: text            len: 16777215 default: [NULL]
	Race null.String `gorm:"column:race;type:text;size:16777215;" json:"race"`
	//[ 9] class                                          text(16777215)       null: true   primary: false  isArray: false  auto: false  col: text            len: 16777215 default: [NULL]
	Class null.String `gorm:"column:class;type:text;size:16777215;" json:"class"`
	//[10] bodytype                                       text(16777215)       null: true   primary: false  isArray: false  auto: false  col: text            len: 16777215 default: [NULL]
	Bodytype null.String `gorm:"column:bodytype;type:text;size:16777215;" json:"bodytype"`
	//[11] zone                                           text(16777215)       null: true   primary: false  isArray: false  auto: false  col: text            len: 16777215 default: [NULL]
	Zone null.String `gorm:"column:zone;type:text;size:16777215;" json:"zone"`
	//[12] hot_zone                                       tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [NULL]
	HotZone null.Int `gorm:"column:hot_zone;type:tinyint;" json:"hot_zone"`
	//[13] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[14] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[15] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[16] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

GlobalLoot struct is a row record of the global_loot table in the eqemu database

func (*GlobalLoot) BeforeSave

func (g *GlobalLoot) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GlobalLoot) Prepare

func (g *GlobalLoot) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GlobalLoot) TableInfo

func (g *GlobalLoot) TableInfo() *TableInfo

TableInfo return table meta data

func (*GlobalLoot) TableName

func (g *GlobalLoot) TableName() string

TableName sets the insert table name for this struct type

func (*GlobalLoot) Validate

func (g *GlobalLoot) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GmIps

type GmIps struct {
	//[ 0] name                                           varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"primary_key;column:name;type:varchar;size:64;" json:"name"`
	//[ 1] account_id                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	AccountID int32 `gorm:"column:account_id;type:int;" json:"account_id"`
	//[ 2] ip_address                                     varchar(15)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 15      default: []
	IPAddress string `gorm:"column:ip_address;type:varchar;size:15;" json:"ip_address"`
}

GmIps struct is a row record of the gm_ips table in the eqemu database

func (*GmIps) BeforeSave

func (g *GmIps) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GmIps) Prepare

func (g *GmIps) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GmIps) TableInfo

func (g *GmIps) TableInfo() *TableInfo

TableInfo return table meta data

func (*GmIps) TableName

func (g *GmIps) TableName() string

TableName sets the insert table name for this struct type

func (*GmIps) Validate

func (g *GmIps) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Goallists

type Goallists struct {
	//[ 0] listid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Listid uint32 `gorm:"primary_key;column:listid;type:uint;default:0;" json:"listid"`
	//[ 1] entry                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Entry uint32 `gorm:"primary_key;column:entry;type:uint;default:0;" json:"entry"`
}

Goallists struct is a row record of the goallists table in the eqemu database

func (*Goallists) BeforeSave

func (g *Goallists) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Goallists) Prepare

func (g *Goallists) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Goallists) TableInfo

func (g *Goallists) TableInfo() *TableInfo

TableInfo return table meta data

func (*Goallists) TableName

func (g *Goallists) TableName() string

TableName sets the insert table name for this struct type

func (*Goallists) Validate

func (g *Goallists) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Graveyard

type Graveyard struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zone_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ZoneID int32 `gorm:"column:zone_id;type:int;default:0;" json:"zone_id"`
	//[ 2] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 3] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 4] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 5] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
}

Graveyard struct is a row record of the graveyard table in the eqemu database

func (*Graveyard) BeforeSave

func (g *Graveyard) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Graveyard) Prepare

func (g *Graveyard) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Graveyard) TableInfo

func (g *Graveyard) TableInfo() *TableInfo

TableInfo return table meta data

func (*Graveyard) TableName

func (g *Graveyard) TableName() string

TableName sets the insert table name for this struct type

func (*Graveyard) Validate

func (g *Graveyard) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Grid

type Grid struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ID int32 `gorm:"primary_key;column:id;type:int;default:0;" json:"id"`
	//[ 1] zoneid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"primary_key;column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 2] type                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Type int32 `gorm:"column:type;type:int;default:0;" json:"type"`
	//[ 3] type2                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Type2 int32 `gorm:"column:type2;type:int;default:0;" json:"type_2"`
}

Grid struct is a row record of the grid table in the eqemu database

func (*Grid) BeforeSave

func (g *Grid) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Grid) Prepare

func (g *Grid) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Grid) TableInfo

func (g *Grid) TableInfo() *TableInfo

TableInfo return table meta data

func (*Grid) TableName

func (g *Grid) TableName() string

TableName sets the insert table name for this struct type

func (*Grid) Validate

func (g *Grid) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GridEntries

type GridEntries struct {
	//[ 0] gridid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Gridid int32 `gorm:"primary_key;column:gridid;type:int;default:0;" json:"gridid"`
	//[ 1] zoneid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"primary_key;column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 2] number                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Number int32 `gorm:"primary_key;column:number;type:int;default:0;" json:"number"`
	//[ 3] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 4] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 5] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 6] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 7] pause                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pause int32 `gorm:"column:pause;type:int;default:0;" json:"pause"`
	//[ 8] centerpoint                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Centerpoint int32 `gorm:"column:centerpoint;type:tinyint;default:0;" json:"centerpoint"`
}

GridEntries struct is a row record of the grid_entries table in the eqemu database

func (*GridEntries) BeforeSave

func (g *GridEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GridEntries) Prepare

func (g *GridEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GridEntries) TableInfo

func (g *GridEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*GridEntries) TableName

func (g *GridEntries) TableName() string

TableName sets the insert table name for this struct type

func (*GridEntries) Validate

func (g *GridEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GroundSpawns

type GroundSpawns struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] zoneid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Zoneid uint32 `gorm:"column:zoneid;type:uint;default:0;" json:"zoneid"`
	//[ 2] version                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Version int32 `gorm:"column:version;type:smallint;default:0;" json:"version"`
	//[ 3] max_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [2000]
	MaxX float32 `gorm:"column:max_x;type:float;default:2000;" json:"max_x"`
	//[ 4] max_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [2000]
	MaxY float32 `gorm:"column:max_y;type:float;default:2000;" json:"max_y"`
	//[ 5] max_z                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [10000]
	MaxZ float32 `gorm:"column:max_z;type:float;default:10000;" json:"max_z"`
	//[ 6] min_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [-2000]
	MinX float32 `gorm:"column:min_x;type:float;default:-2000;" json:"min_x"`
	//[ 7] min_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [-2000]
	MinY float32 `gorm:"column:min_y;type:float;default:-2000;" json:"min_y"`
	//[ 8] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 9] name                                           varchar(16)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 16      default: [”]
	Name string `gorm:"column:name;type:varchar;size:16;default:'';" json:"name"`
	//[10] item                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Item uint32 `gorm:"column:item;type:uint;default:0;" json:"item"`
	//[11] max_allowed                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	MaxAllowed uint32 `gorm:"column:max_allowed;type:uint;default:1;" json:"max_allowed"`
	//[12] comment                                        varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Comment string `gorm:"column:comment;type:varchar;size:255;default:'';" json:"comment"`
	//[13] respawn_timer                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [300]
	RespawnTimer uint32 `gorm:"column:respawn_timer;type:uint;default:300;" json:"respawn_timer"`
	//[14] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[15] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[16] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[17] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

GroundSpawns struct is a row record of the ground_spawns table in the eqemu database

func (*GroundSpawns) BeforeSave

func (g *GroundSpawns) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GroundSpawns) Prepare

func (g *GroundSpawns) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GroundSpawns) TableInfo

func (g *GroundSpawns) TableInfo() *TableInfo

TableInfo return table meta data

func (*GroundSpawns) TableName

func (g *GroundSpawns) TableName() string

TableName sets the insert table name for this struct type

func (*GroundSpawns) Validate

func (g *GroundSpawns) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GroupID

type GroupID struct {
	//[ 0] groupid                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Groupid int32 `gorm:"primary_key;column:groupid;type:int;" json:"groupid"`
	//[ 1] charid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Charid int32 `gorm:"primary_key;column:charid;type:int;" json:"charid"`
	//[ 2] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 3] ismerc                                         tinyint              null: false  primary: true   isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Ismerc int32 `gorm:"primary_key;column:ismerc;type:tinyint;default:0;" json:"ismerc"`
}

GroupID struct is a row record of the group_id table in the eqemu database

func (*GroupID) BeforeSave

func (g *GroupID) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GroupID) Prepare

func (g *GroupID) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GroupID) TableInfo

func (g *GroupID) TableInfo() *TableInfo

TableInfo return table meta data

func (*GroupID) TableName

func (g *GroupID) TableName() string

TableName sets the insert table name for this struct type

func (*GroupID) Validate

func (g *GroupID) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GroupLeaders

type GroupLeaders struct {
	//[ 0] gid                                            int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Gid int32 `gorm:"primary_key;column:gid;type:int;default:0;" json:"gid"`
	//[ 1] leadername                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Leadername string `gorm:"column:leadername;type:varchar;size:64;default:'';" json:"leadername"`
	//[ 2] marknpc                                        varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Marknpc string `gorm:"column:marknpc;type:varchar;size:64;default:'';" json:"marknpc"`
	//[ 3] leadershipaa                                   blob                 null: true   primary: false  isArray: false  auto: false  col: blob            len: -1      default: [NULL]
	Leadershipaa []byte `gorm:"column:leadershipaa;type:blob;" json:"leadershipaa"`
	//[ 4] maintank                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Maintank string `gorm:"column:maintank;type:varchar;size:64;default:'';" json:"maintank"`
	//[ 5] assist                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Assist string `gorm:"column:assist;type:varchar;size:64;default:'';" json:"assist"`
	//[ 6] puller                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Puller string `gorm:"column:puller;type:varchar;size:64;default:'';" json:"puller"`
	//[ 7] mentoree                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Mentoree string `gorm:"column:mentoree;type:varchar;size:64;" json:"mentoree"`
	//[ 8] mentor_percent                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MentorPercent int32 `gorm:"column:mentor_percent;type:int;default:0;" json:"mentor_percent"`
}

GroupLeaders struct is a row record of the group_leaders table in the eqemu database

func (*GroupLeaders) BeforeSave

func (g *GroupLeaders) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GroupLeaders) Prepare

func (g *GroupLeaders) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GroupLeaders) TableInfo

func (g *GroupLeaders) TableInfo() *TableInfo

TableInfo return table meta data

func (*GroupLeaders) TableName

func (g *GroupLeaders) TableName() string

TableName sets the insert table name for this struct type

func (*GroupLeaders) Validate

func (g *GroupLeaders) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GuildBank

type GuildBank struct {
	//[ 0] guildid                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Guildid uint32 `gorm:"primary_key;column:guildid;type:uint;default:0;" json:"guildid"`
	//[ 1] area                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Area uint32 `gorm:"column:area;type:utinyint;default:0;" json:"area"`
	//[ 2] slot                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Slot uint32 `gorm:"column:slot;type:uint;default:0;" json:"slot"`
	//[ 3] itemid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid uint32 `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 4] qty                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Qty uint32 `gorm:"column:qty;type:uint;default:0;" json:"qty"`
	//[ 5] donator                                        varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Donator null.String `gorm:"column:donator;type:varchar;size:64;" json:"donator"`
	//[ 6] permissions                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Permissions uint32 `gorm:"column:permissions;type:utinyint;default:0;" json:"permissions"`
	//[ 7] whofor                                         varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Whofor null.String `gorm:"column:whofor;type:varchar;size:64;" json:"whofor"`
}

GuildBank struct is a row record of the guild_bank table in the eqemu database

func (*GuildBank) BeforeSave

func (g *GuildBank) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GuildBank) Prepare

func (g *GuildBank) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GuildBank) TableInfo

func (g *GuildBank) TableInfo() *TableInfo

TableInfo return table meta data

func (*GuildBank) TableName

func (g *GuildBank) TableName() string

TableName sets the insert table name for this struct type

func (*GuildBank) Validate

func (g *GuildBank) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GuildMembers

type GuildMembers struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:char_id;type:int;default:0;" json:"char_id"`
	//[ 1] guild_id                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	GuildID uint32 `gorm:"column:guild_id;type:umediumint;default:0;" json:"guild_id"`
	//[ 2] rank                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Rank uint32 `gorm:"column:rank;type:utinyint;default:0;" json:"rank"`
	//[ 3] tribute_enable                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	TributeEnable uint32 `gorm:"column:tribute_enable;type:utinyint;default:0;" json:"tribute_enable"`
	//[ 4] total_tribute                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TotalTribute uint32 `gorm:"column:total_tribute;type:uint;default:0;" json:"total_tribute"`
	//[ 5] last_tribute                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LastTribute uint32 `gorm:"column:last_tribute;type:uint;default:0;" json:"last_tribute"`
	//[ 6] banker                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Banker uint32 `gorm:"column:banker;type:utinyint;default:0;" json:"banker"`
	//[ 7] public_note                                    text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	PublicNote string `gorm:"column:public_note;type:text;size:65535;" json:"public_note"`
	//[ 8] alt                                            utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Alt uint32 `gorm:"column:alt;type:utinyint;default:0;" json:"alt"`
}

GuildMembers struct is a row record of the guild_members table in the eqemu database

func (*GuildMembers) BeforeSave

func (g *GuildMembers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GuildMembers) Prepare

func (g *GuildMembers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GuildMembers) TableInfo

func (g *GuildMembers) TableInfo() *TableInfo

TableInfo return table meta data

func (*GuildMembers) TableName

func (g *GuildMembers) TableName() string

TableName sets the insert table name for this struct type

func (*GuildMembers) Validate

func (g *GuildMembers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GuildRanks

type GuildRanks struct {
	//[ 0] guild_id                                       umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	GuildID uint32 `gorm:"primary_key;column:guild_id;type:umediumint;default:0;" json:"guild_id"`
	//[ 1] rank                                           utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Rank uint32 `gorm:"primary_key;column:rank;type:utinyint;default:0;" json:"rank"`
	//[ 2] title                                          varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	Title string `gorm:"column:title;type:varchar;size:128;default:'';" json:"title"`
	//[ 3] can_hear                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanHear uint32 `gorm:"column:can_hear;type:utinyint;default:0;" json:"can_hear"`
	//[ 4] can_speak                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanSpeak uint32 `gorm:"column:can_speak;type:utinyint;default:0;" json:"can_speak"`
	//[ 5] can_invite                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanInvite uint32 `gorm:"column:can_invite;type:utinyint;default:0;" json:"can_invite"`
	//[ 6] can_remove                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanRemove uint32 `gorm:"column:can_remove;type:utinyint;default:0;" json:"can_remove"`
	//[ 7] can_promote                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanPromote uint32 `gorm:"column:can_promote;type:utinyint;default:0;" json:"can_promote"`
	//[ 8] can_demote                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanDemote uint32 `gorm:"column:can_demote;type:utinyint;default:0;" json:"can_demote"`
	//[ 9] can_motd                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanMotd uint32 `gorm:"column:can_motd;type:utinyint;default:0;" json:"can_motd"`
	//[10] can_warpeace                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	CanWarpeace uint32 `gorm:"column:can_warpeace;type:utinyint;default:0;" json:"can_warpeace"`
}

GuildRanks struct is a row record of the guild_ranks table in the eqemu database

func (*GuildRanks) BeforeSave

func (g *GuildRanks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GuildRanks) Prepare

func (g *GuildRanks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GuildRanks) TableInfo

func (g *GuildRanks) TableInfo() *TableInfo

TableInfo return table meta data

func (*GuildRanks) TableName

func (g *GuildRanks) TableName() string

TableName sets the insert table name for this struct type

func (*GuildRanks) Validate

func (g *GuildRanks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type GuildRelations

type GuildRelations struct {
	//[ 0] guild1                                         umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Guild1 uint32 `gorm:"primary_key;column:guild1;type:umediumint;default:0;" json:"guild_1"`
	//[ 1] guild2                                         umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Guild2 uint32 `gorm:"primary_key;column:guild2;type:umediumint;default:0;" json:"guild_2"`
	//[ 2] relation                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Relation int32 `gorm:"column:relation;type:tinyint;default:0;" json:"relation"`
}

GuildRelations struct is a row record of the guild_relations table in the eqemu database

func (*GuildRelations) BeforeSave

func (g *GuildRelations) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*GuildRelations) Prepare

func (g *GuildRelations) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*GuildRelations) TableInfo

func (g *GuildRelations) TableInfo() *TableInfo

TableInfo return table meta data

func (*GuildRelations) TableName

func (g *GuildRelations) TableName() string

TableName sets the insert table name for this struct type

func (*GuildRelations) Validate

func (g *GuildRelations) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Guilds

type Guilds struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Name string `gorm:"column:name;type:varchar;size:32;default:'';" json:"name"`
	//[ 2] leader                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Leader int32 `gorm:"column:leader;type:int;default:0;" json:"leader"`
	//[ 3] minstatus                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Minstatus int32 `gorm:"column:minstatus;type:smallint;default:0;" json:"minstatus"`
	//[ 4] motd                                           text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Motd string `gorm:"column:motd;type:text;size:65535;" json:"motd"`
	//[ 5] tribute                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Tribute uint32 `gorm:"column:tribute;type:uint;default:0;" json:"tribute"`
	//[ 6] motd_setter                                    varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	MotdSetter string `gorm:"column:motd_setter;type:varchar;size:64;default:'';" json:"motd_setter"`
	//[ 7] channel                                        varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	Channel string `gorm:"column:channel;type:varchar;size:128;default:'';" json:"channel"`
	//[ 8] url                                            varchar(512)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 512     default: [”]
	URL string `gorm:"column:url;type:varchar;size:512;default:'';" json:"url"`
}

Guilds struct is a row record of the guilds table in the eqemu database

func (*Guilds) BeforeSave

func (g *Guilds) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Guilds) Prepare

func (g *Guilds) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Guilds) TableInfo

func (g *Guilds) TableInfo() *TableInfo

TableInfo return table meta data

func (*Guilds) TableName

func (g *Guilds) TableName() string

TableName sets the insert table name for this struct type

func (*Guilds) Validate

func (g *Guilds) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Hackers

type Hackers struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] account                                        text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Account string `gorm:"column:account;type:text;size:65535;" json:"account"`
	//[ 2] name                                           text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Name string `gorm:"column:name;type:text;size:65535;" json:"name"`
	//[ 3] hacked                                         text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Hacked string `gorm:"column:hacked;type:text;size:65535;" json:"hacked"`
	//[ 4] zone                                           text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Zone null.String `gorm:"column:zone;type:text;size:65535;" json:"zone"`
	//[ 5] date                                           timestamp            null: false  primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [current_timestamp()]
	Date time.Time `gorm:"column:date;type:timestamp;" json:"date"`
}

Hackers struct is a row record of the hackers table in the eqemu database

func (*Hackers) BeforeSave

func (h *Hackers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Hackers) Prepare

func (h *Hackers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Hackers) TableInfo

func (h *Hackers) TableInfo() *TableInfo

TableInfo return table meta data

func (*Hackers) TableName

func (h *Hackers) TableName() string

TableName sets the insert table name for this struct type

func (*Hackers) Validate

func (h *Hackers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Horses

type Horses struct {
	//[ 0] filename                                       varchar(32)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Filename string `gorm:"primary_key;column:filename;type:varchar;size:32;default:'';" json:"filename"`
	//[ 1] race                                           smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [216]
	Race int32 `gorm:"column:race;type:smallint;default:216;" json:"race"`
	//[ 2] gender                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Gender int32 `gorm:"column:gender;type:tinyint;default:0;" json:"gender"`
	//[ 3] texture                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Texture int32 `gorm:"column:texture;type:tinyint;default:0;" json:"texture"`
	//[ 4] mountspeed                                     float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.75]
	Mountspeed float32 `gorm:"column:mountspeed;type:float;default:0.75;" json:"mountspeed"`
	//[ 5] notes                                          varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['Notes']
	Notes null.String `gorm:"column:notes;type:varchar;size:64;default:'Notes';" json:"notes"`
}

Horses struct is a row record of the horses table in the eqemu database

func (*Horses) BeforeSave

func (h *Horses) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Horses) Prepare

func (h *Horses) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Horses) TableInfo

func (h *Horses) TableInfo() *TableInfo

TableInfo return table meta data

func (*Horses) TableName

func (h *Horses) TableName() string

TableName sets the insert table name for this struct type

func (*Horses) Validate

func (h *Horses) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type IPExemptions

type IPExemptions struct {
	//[ 0] exemption_id                                   int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ExemptionID int32 `gorm:"primary_key;AUTO_INCREMENT;column:exemption_id;type:int;" json:"exemption_id"`
	//[ 1] exemption_ip                                   varchar(255)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [NULL]
	ExemptionIP null.String `gorm:"column:exemption_ip;type:varchar;size:255;" json:"exemption_ip"`
	//[ 2] exemption_amount                               int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	ExemptionAmount null.Int `gorm:"column:exemption_amount;type:int;" json:"exemption_amount"`
}

IPExemptions struct is a row record of the ip_exemptions table in the eqemu database

func (*IPExemptions) BeforeSave

func (i *IPExemptions) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*IPExemptions) Prepare

func (i *IPExemptions) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*IPExemptions) TableInfo

func (i *IPExemptions) TableInfo() *TableInfo

TableInfo return table meta data

func (*IPExemptions) TableName

func (i *IPExemptions) TableName() string

TableName sets the insert table name for this struct type

func (*IPExemptions) Validate

func (i *IPExemptions) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type InstanceList

type InstanceList struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zone                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Zone uint32 `gorm:"column:zone;type:uint;default:0;" json:"zone"`
	//[ 2] version                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Version uint32 `gorm:"column:version;type:utinyint;default:0;" json:"version"`
	//[ 3] is_global                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	IsGlobal uint32 `gorm:"column:is_global;type:utinyint;default:0;" json:"is_global"`
	//[ 4] start_time                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	StartTime uint32 `gorm:"column:start_time;type:uint;default:0;" json:"start_time"`
	//[ 5] duration                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Duration uint32 `gorm:"column:duration;type:uint;default:0;" json:"duration"`
	//[ 6] never_expires                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NeverExpires uint32 `gorm:"column:never_expires;type:utinyint;default:0;" json:"never_expires"`
}

InstanceList struct is a row record of the instance_list table in the eqemu database

func (*InstanceList) BeforeSave

func (i *InstanceList) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*InstanceList) Prepare

func (i *InstanceList) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*InstanceList) TableInfo

func (i *InstanceList) TableInfo() *TableInfo

TableInfo return table meta data

func (*InstanceList) TableName

func (i *InstanceList) TableName() string

TableName sets the insert table name for this struct type

func (*InstanceList) Validate

func (i *InstanceList) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type InstanceListPlayer

type InstanceListPlayer struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
}

InstanceListPlayer struct is a row record of the instance_list_player table in the eqemu database

func (*InstanceListPlayer) BeforeSave

func (i *InstanceListPlayer) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*InstanceListPlayer) Prepare

func (i *InstanceListPlayer) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*InstanceListPlayer) TableInfo

func (i *InstanceListPlayer) TableInfo() *TableInfo

TableInfo return table meta data

func (*InstanceListPlayer) TableName

func (i *InstanceListPlayer) TableName() string

TableName sets the insert table name for this struct type

func (*InstanceListPlayer) Validate

func (i *InstanceListPlayer) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Inventory

type Inventory struct {
	//[ 0] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 1] slotid                                         umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Slotid uint32 `gorm:"primary_key;column:slotid;type:umediumint;default:0;" json:"slotid"`
	//[ 2] itemid                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid null.Int `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 3] charges                                        usmallint            null: true   primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:usmallint;default:0;" json:"charges"`
	//[ 4] color                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Color uint32 `gorm:"column:color;type:uint;default:0;" json:"color"`
	//[ 5] augslot1                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot1 uint32 `gorm:"column:augslot1;type:umediumint;default:0;" json:"augslot_1"`
	//[ 6] augslot2                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot2 uint32 `gorm:"column:augslot2;type:umediumint;default:0;" json:"augslot_2"`
	//[ 7] augslot3                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot3 uint32 `gorm:"column:augslot3;type:umediumint;default:0;" json:"augslot_3"`
	//[ 8] augslot4                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot4 uint32 `gorm:"column:augslot4;type:umediumint;default:0;" json:"augslot_4"`
	//[ 9] augslot5                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot5 null.Int `gorm:"column:augslot5;type:umediumint;default:0;" json:"augslot_5"`
	//[10] augslot6                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Augslot6 int32 `gorm:"column:augslot6;type:mediumint;default:0;" json:"augslot_6"`
	//[11] instnodrop                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Instnodrop uint32 `gorm:"column:instnodrop;type:utinyint;default:0;" json:"instnodrop"`
	//[12] custom_data                                    text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	CustomData null.String `gorm:"column:custom_data;type:text;size:65535;" json:"custom_data"`
	//[13] ornamenticon                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Ornamenticon uint32 `gorm:"column:ornamenticon;type:uint;default:0;" json:"ornamenticon"`
	//[14] ornamentidfile                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Ornamentidfile uint32 `gorm:"column:ornamentidfile;type:uint;default:0;" json:"ornamentidfile"`
	//[15] ornament_hero_model                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	OrnamentHeroModel int32 `gorm:"column:ornament_hero_model;type:int;default:0;" json:"ornament_hero_model"`
}

Inventory struct is a row record of the inventory table in the eqemu database

func (*Inventory) BeforeSave

func (i *Inventory) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Inventory) Prepare

func (i *Inventory) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Inventory) TableInfo

func (i *Inventory) TableInfo() *TableInfo

TableInfo return table meta data

func (*Inventory) TableName

func (i *Inventory) TableName() string

TableName sets the insert table name for this struct type

func (*Inventory) Validate

func (i *Inventory) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type InventorySnapshots

type InventorySnapshots struct {
	//[ 0] time_index                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	TimeIndex uint32 `gorm:"primary_key;column:time_index;type:uint;default:0;" json:"time_index"`
	//[ 1] charid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"primary_key;column:charid;type:uint;default:0;" json:"charid"`
	//[ 2] slotid                                         umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Slotid uint32 `gorm:"primary_key;column:slotid;type:umediumint;default:0;" json:"slotid"`
	//[ 3] itemid                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid null.Int `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 4] charges                                        usmallint            null: true   primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:usmallint;default:0;" json:"charges"`
	//[ 5] color                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Color uint32 `gorm:"column:color;type:uint;default:0;" json:"color"`
	//[ 6] augslot1                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot1 uint32 `gorm:"column:augslot1;type:umediumint;default:0;" json:"augslot_1"`
	//[ 7] augslot2                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot2 uint32 `gorm:"column:augslot2;type:umediumint;default:0;" json:"augslot_2"`
	//[ 8] augslot3                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot3 uint32 `gorm:"column:augslot3;type:umediumint;default:0;" json:"augslot_3"`
	//[ 9] augslot4                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot4 uint32 `gorm:"column:augslot4;type:umediumint;default:0;" json:"augslot_4"`
	//[10] augslot5                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot5 null.Int `gorm:"column:augslot5;type:umediumint;default:0;" json:"augslot_5"`
	//[11] augslot6                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Augslot6 int32 `gorm:"column:augslot6;type:mediumint;default:0;" json:"augslot_6"`
	//[12] instnodrop                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Instnodrop uint32 `gorm:"column:instnodrop;type:utinyint;default:0;" json:"instnodrop"`
	//[13] custom_data                                    text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	CustomData null.String `gorm:"column:custom_data;type:text;size:65535;" json:"custom_data"`
	//[14] ornamenticon                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Ornamenticon uint32 `gorm:"column:ornamenticon;type:uint;default:0;" json:"ornamenticon"`
	//[15] ornamentidfile                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Ornamentidfile uint32 `gorm:"column:ornamentidfile;type:uint;default:0;" json:"ornamentidfile"`
	//[16] ornament_hero_model                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	OrnamentHeroModel int32 `gorm:"column:ornament_hero_model;type:int;default:0;" json:"ornament_hero_model"`
}

InventorySnapshots struct is a row record of the inventory_snapshots table in the eqemu database

func (*InventorySnapshots) BeforeSave

func (i *InventorySnapshots) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*InventorySnapshots) Prepare

func (i *InventorySnapshots) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*InventorySnapshots) TableInfo

func (i *InventorySnapshots) TableInfo() *TableInfo

TableInfo return table meta data

func (*InventorySnapshots) TableName

func (i *InventorySnapshots) TableName() string

TableName sets the insert table name for this struct type

func (*InventorySnapshots) Validate

func (i *InventorySnapshots) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type InventoryVersions

type InventoryVersions struct {
	//[ 0] version                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Version uint32 `gorm:"primary_key;column:version;type:uint;default:0;" json:"version"`
	//[ 1] step                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Step uint32 `gorm:"column:step;type:uint;default:0;" json:"step"`
	//[ 2] bot_step                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	BotStep uint32 `gorm:"column:bot_step;type:uint;default:0;" json:"bot_step"`
}

InventoryVersions struct is a row record of the inventory_versions table in the eqemu database

func (*InventoryVersions) BeforeSave

func (i *InventoryVersions) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*InventoryVersions) Prepare

func (i *InventoryVersions) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*InventoryVersions) TableInfo

func (i *InventoryVersions) TableInfo() *TableInfo

TableInfo return table meta data

func (*InventoryVersions) TableName

func (i *InventoryVersions) TableName() string

TableName sets the insert table name for this struct type

func (*InventoryVersions) Validate

func (i *InventoryVersions) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ItemTick

type ItemTick struct {
	//[ 0] it_itemid                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItItemid int32 `gorm:"column:it_itemid;type:int;" json:"it_itemid"`
	//[ 1] it_chance                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItChance int32 `gorm:"column:it_chance;type:int;" json:"it_chance"`
	//[ 2] it_level                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItLevel int32 `gorm:"column:it_level;type:int;" json:"it_level"`
	//[ 3] it_id                                          int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ItID int32 `gorm:"primary_key;AUTO_INCREMENT;column:it_id;type:int;" json:"it_id"`
	//[ 4] it_qglobal                                     varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: []
	ItQglobal string `gorm:"column:it_qglobal;type:varchar;size:50;" json:"it_qglobal"`
	//[ 5] it_bagslot                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: []
	ItBagslot int32 `gorm:"column:it_bagslot;type:tinyint;" json:"it_bagslot"`
}

ItemTick struct is a row record of the item_tick table in the eqemu database

func (*ItemTick) BeforeSave

func (i *ItemTick) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ItemTick) Prepare

func (i *ItemTick) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ItemTick) TableInfo

func (i *ItemTick) TableInfo() *TableInfo

TableInfo return table meta data

func (*ItemTick) TableName

func (i *ItemTick) TableName() string

TableName sets the insert table name for this struct type

func (*ItemTick) Validate

func (i *ItemTick) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Items

type Items struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ID int32 `gorm:"primary_key;column:id;type:int;default:0;" json:"id"`
	//[ 1] minstatus                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Minstatus int32 `gorm:"column:minstatus;type:smallint;default:0;" json:"minstatus"`
	//[ 2] Name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"column:Name;type:varchar;size:64;default:'';" json:"name"`
	//[ 3] aagi                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aagi int32 `gorm:"column:aagi;type:int;default:0;" json:"aagi"`
	//[ 4] ac                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Ac int32 `gorm:"column:ac;type:int;default:0;" json:"ac"`
	//[ 5] accuracy                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Accuracy int32 `gorm:"column:accuracy;type:int;default:0;" json:"accuracy"`
	//[ 6] acha                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Acha int32 `gorm:"column:acha;type:int;default:0;" json:"acha"`
	//[ 7] adex                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Adex int32 `gorm:"column:adex;type:int;default:0;" json:"adex"`
	//[ 8] aint                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aint int32 `gorm:"column:aint;type:int;default:0;" json:"aint"`
	//[ 9] artifactflag                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Artifactflag uint32 `gorm:"column:artifactflag;type:utinyint;default:0;" json:"artifactflag"`
	//[10] asta                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Asta int32 `gorm:"column:asta;type:int;default:0;" json:"asta"`
	//[11] astr                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Astr int32 `gorm:"column:astr;type:int;default:0;" json:"astr"`
	//[12] attack                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Attack int32 `gorm:"column:attack;type:int;default:0;" json:"attack"`
	//[13] augrestrict                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augrestrict int32 `gorm:"column:augrestrict;type:int;default:0;" json:"augrestrict"`
	//[14] augslot1type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot1type int32 `gorm:"column:augslot1type;type:tinyint;default:0;" json:"augslot_1_type"`
	//[15] augslot1visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot1visible int32 `gorm:"column:augslot1visible;type:tinyint;default:0;" json:"augslot_1_visible"`
	//[16] augslot2type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot2type int32 `gorm:"column:augslot2type;type:tinyint;default:0;" json:"augslot_2_type"`
	//[17] augslot2visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot2visible int32 `gorm:"column:augslot2visible;type:tinyint;default:0;" json:"augslot_2_visible"`
	//[18] augslot3type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot3type int32 `gorm:"column:augslot3type;type:tinyint;default:0;" json:"augslot_3_type"`
	//[19] augslot3visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot3visible int32 `gorm:"column:augslot3visible;type:tinyint;default:0;" json:"augslot_3_visible"`
	//[20] augslot4type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot4type int32 `gorm:"column:augslot4type;type:tinyint;default:0;" json:"augslot_4_type"`
	//[21] augslot4visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot4visible int32 `gorm:"column:augslot4visible;type:tinyint;default:0;" json:"augslot_4_visible"`
	//[22] augslot5type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot5type int32 `gorm:"column:augslot5type;type:tinyint;default:0;" json:"augslot_5_type"`
	//[23] augslot5visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot5visible int32 `gorm:"column:augslot5visible;type:tinyint;default:0;" json:"augslot_5_visible"`
	//[24] augslot6type                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot6type int32 `gorm:"column:augslot6type;type:tinyint;default:0;" json:"augslot_6_type"`
	//[25] augslot6visible                                tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Augslot6visible int32 `gorm:"column:augslot6visible;type:tinyint;default:0;" json:"augslot_6_visible"`
	//[26] augtype                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augtype int32 `gorm:"column:augtype;type:int;default:0;" json:"augtype"`
	//[27] avoidance                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Avoidance int32 `gorm:"column:avoidance;type:int;default:0;" json:"avoidance"`
	//[28] awis                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Awis int32 `gorm:"column:awis;type:int;default:0;" json:"awis"`
	//[29] bagsize                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bagsize int32 `gorm:"column:bagsize;type:int;default:0;" json:"bagsize"`
	//[30] bagslots                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bagslots int32 `gorm:"column:bagslots;type:int;default:0;" json:"bagslots"`
	//[31] bagtype                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bagtype int32 `gorm:"column:bagtype;type:int;default:0;" json:"bagtype"`
	//[32] bagwr                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bagwr int32 `gorm:"column:bagwr;type:int;default:0;" json:"bagwr"`
	//[33] banedmgamt                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Banedmgamt int32 `gorm:"column:banedmgamt;type:int;default:0;" json:"banedmgamt"`
	//[34] banedmgraceamt                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Banedmgraceamt int32 `gorm:"column:banedmgraceamt;type:int;default:0;" json:"banedmgraceamt"`
	//[35] banedmgbody                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Banedmgbody int32 `gorm:"column:banedmgbody;type:int;default:0;" json:"banedmgbody"`
	//[36] banedmgrace                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Banedmgrace int32 `gorm:"column:banedmgrace;type:int;default:0;" json:"banedmgrace"`
	//[37] bardtype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bardtype int32 `gorm:"column:bardtype;type:int;default:0;" json:"bardtype"`
	//[38] bardvalue                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bardvalue int32 `gorm:"column:bardvalue;type:int;default:0;" json:"bardvalue"`
	//[39] book                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Book int32 `gorm:"column:book;type:int;default:0;" json:"book"`
	//[40] casttime                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Casttime int32 `gorm:"column:casttime;type:int;default:0;" json:"casttime"`
	//[41] casttime_                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Casttimealt1 int32 `gorm:"column:casttime_;type:int;default:0;" json:"casttime_"`
	//[42] charmfile                                      varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Charmfile string `gorm:"column:charmfile;type:varchar;size:32;default:'';" json:"charmfile"`
	//[43] charmfileid                                    varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Charmfileid string `gorm:"column:charmfileid;type:varchar;size:32;default:'';" json:"charmfileid"`
	//[44] classes                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Classes int32 `gorm:"column:classes;type:int;default:0;" json:"classes"`
	//[45] color                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Color uint32 `gorm:"column:color;type:uint;default:0;" json:"color"`
	//[46] combateffects                                  varchar(10)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 10      default: [”]
	Combateffects string `gorm:"column:combateffects;type:varchar;size:10;default:'';" json:"combateffects"`
	//[47] extradmgskill                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Extradmgskill int32 `gorm:"column:extradmgskill;type:int;default:0;" json:"extradmgskill"`
	//[48] extradmgamt                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Extradmgamt int32 `gorm:"column:extradmgamt;type:int;default:0;" json:"extradmgamt"`
	//[49] price                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Price int32 `gorm:"column:price;type:int;default:0;" json:"price"`
	//[50] cr                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Cr int32 `gorm:"column:cr;type:int;default:0;" json:"cr"`
	//[51] damage                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Damage int32 `gorm:"column:damage;type:int;default:0;" json:"damage"`
	//[52] damageshield                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Damageshield int32 `gorm:"column:damageshield;type:int;default:0;" json:"damageshield"`
	//[53] deity                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deity int32 `gorm:"column:deity;type:int;default:0;" json:"deity"`
	//[54] delay                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Delay int32 `gorm:"column:delay;type:int;default:0;" json:"delay"`
	//[55] augdistiller                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augdistiller int32 `gorm:"column:augdistiller;type:int;default:0;" json:"augdistiller"`
	//[56] dotshielding                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Dotshielding int32 `gorm:"column:dotshielding;type:int;default:0;" json:"dotshielding"`
	//[57] dr                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Dr int32 `gorm:"column:dr;type:int;default:0;" json:"dr"`
	//[58] clicktype                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clicktype int32 `gorm:"column:clicktype;type:int;default:0;" json:"clicktype"`
	//[59] clicklevel2                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clicklevel2 int32 `gorm:"column:clicklevel2;type:int;default:0;" json:"clicklevel_2"`
	//[60] elemdmgtype                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Elemdmgtype int32 `gorm:"column:elemdmgtype;type:int;default:0;" json:"elemdmgtype"`
	//[61] elemdmgamt                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Elemdmgamt int32 `gorm:"column:elemdmgamt;type:int;default:0;" json:"elemdmgamt"`
	//[62] endur                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Endur int32 `gorm:"column:endur;type:int;default:0;" json:"endur"`
	//[63] factionamt1                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionamt1 int32 `gorm:"column:factionamt1;type:int;default:0;" json:"factionamt_1"`
	//[64] factionamt2                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionamt2 int32 `gorm:"column:factionamt2;type:int;default:0;" json:"factionamt_2"`
	//[65] factionamt3                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionamt3 int32 `gorm:"column:factionamt3;type:int;default:0;" json:"factionamt_3"`
	//[66] factionamt4                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionamt4 int32 `gorm:"column:factionamt4;type:int;default:0;" json:"factionamt_4"`
	//[67] factionmod1                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionmod1 int32 `gorm:"column:factionmod1;type:int;default:0;" json:"factionmod_1"`
	//[68] factionmod2                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionmod2 int32 `gorm:"column:factionmod2;type:int;default:0;" json:"factionmod_2"`
	//[69] factionmod3                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionmod3 int32 `gorm:"column:factionmod3;type:int;default:0;" json:"factionmod_3"`
	//[70] factionmod4                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Factionmod4 int32 `gorm:"column:factionmod4;type:int;default:0;" json:"factionmod_4"`
	//[71] filename                                       varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Filename string `gorm:"column:filename;type:varchar;size:32;default:'';" json:"filename"`
	//[72] focuseffect                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focuseffect int32 `gorm:"column:focuseffect;type:int;default:0;" json:"focuseffect"`
	//[73] fr                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Fr int32 `gorm:"column:fr;type:int;default:0;" json:"fr"`
	//[74] fvnodrop                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Fvnodrop int32 `gorm:"column:fvnodrop;type:int;default:0;" json:"fvnodrop"`
	//[75] haste                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Haste int32 `gorm:"column:haste;type:int;default:0;" json:"haste"`
	//[76] clicklevel                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clicklevel int32 `gorm:"column:clicklevel;type:int;default:0;" json:"clicklevel"`
	//[77] hp                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Hp int32 `gorm:"column:hp;type:int;default:0;" json:"hp"`
	//[78] regen                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Regen int32 `gorm:"column:regen;type:int;default:0;" json:"regen"`
	//[79] icon                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Icon int32 `gorm:"column:icon;type:int;default:0;" json:"icon"`
	//[80] idfile                                         varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Idfile string `gorm:"column:idfile;type:varchar;size:30;default:'';" json:"idfile"`
	//[81] itemclass                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemclass int32 `gorm:"column:itemclass;type:int;default:0;" json:"itemclass"`
	//[82] itemtype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemtype int32 `gorm:"column:itemtype;type:int;default:0;" json:"itemtype"`
	//[83] ldonprice                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Ldonprice int32 `gorm:"column:ldonprice;type:int;default:0;" json:"ldonprice"`
	//[84] ldontheme                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Ldontheme int32 `gorm:"column:ldontheme;type:int;default:0;" json:"ldontheme"`
	//[85] ldonsold                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Ldonsold int32 `gorm:"column:ldonsold;type:int;default:0;" json:"ldonsold"`
	//[86] light                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Light int32 `gorm:"column:light;type:int;default:0;" json:"light"`
	//[87] lore                                           varchar(80)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 80      default: [”]
	Lore string `gorm:"column:lore;type:varchar;size:80;default:'';" json:"lore"`
	//[88] loregroup                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Loregroup int32 `gorm:"column:loregroup;type:int;default:0;" json:"loregroup"`
	//[89] magic                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Magic int32 `gorm:"column:magic;type:int;default:0;" json:"magic"`
	//[90] mana                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Mana int32 `gorm:"column:mana;type:int;default:0;" json:"mana"`
	//[91] manaregen                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Manaregen int32 `gorm:"column:manaregen;type:int;default:0;" json:"manaregen"`
	//[92] enduranceregen                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Enduranceregen int32 `gorm:"column:enduranceregen;type:int;default:0;" json:"enduranceregen"`
	//[93] material                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Material int32 `gorm:"column:material;type:int;default:0;" json:"material"`
	//[94] herosforgemodel                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Herosforgemodel int32 `gorm:"column:herosforgemodel;type:int;default:0;" json:"herosforgemodel"`
	//[95] maxcharges                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Maxcharges int32 `gorm:"column:maxcharges;type:int;default:0;" json:"maxcharges"`
	//[96] mr                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Mr int32 `gorm:"column:mr;type:int;default:0;" json:"mr"`
	//[97] nodrop                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Nodrop int32 `gorm:"column:nodrop;type:int;default:0;" json:"nodrop"`
	//[98] norent                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Norent int32 `gorm:"column:norent;type:int;default:0;" json:"norent"`
	//[99] pendingloreflag                                utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Pendingloreflag uint32 `gorm:"column:pendingloreflag;type:utinyint;default:0;" json:"pendingloreflag"`
	//[100] pr                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pr int32 `gorm:"column:pr;type:int;default:0;" json:"pr"`
	//[101] procrate                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procrate int32 `gorm:"column:procrate;type:int;default:0;" json:"procrate"`
	//[102] races                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Races int32 `gorm:"column:races;type:int;default:0;" json:"races"`
	//[103] range                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Range int32 `gorm:"column:range;type:int;default:0;" json:"range"`
	//[104] reclevel                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Reclevel int32 `gorm:"column:reclevel;type:int;default:0;" json:"reclevel"`
	//[105] recskill                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Recskill int32 `gorm:"column:recskill;type:int;default:0;" json:"recskill"`
	//[106] reqlevel                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Reqlevel int32 `gorm:"column:reqlevel;type:int;default:0;" json:"reqlevel"`
	//[107] sellrate                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Sellrate float32 `gorm:"column:sellrate;type:float;default:0;" json:"sellrate"`
	//[108] shielding                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Shielding int32 `gorm:"column:shielding;type:int;default:0;" json:"shielding"`
	//[109] size                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Size int32 `gorm:"column:size;type:int;default:0;" json:"size"`
	//[110] skillmodtype                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Skillmodtype int32 `gorm:"column:skillmodtype;type:int;default:0;" json:"skillmodtype"`
	//[111] skillmodvalue                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Skillmodvalue int32 `gorm:"column:skillmodvalue;type:int;default:0;" json:"skillmodvalue"`
	//[112] slots                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Slots int32 `gorm:"column:slots;type:int;default:0;" json:"slots"`
	//[113] clickeffect                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clickeffect int32 `gorm:"column:clickeffect;type:int;default:0;" json:"clickeffect"`
	//[114] spellshield                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Spellshield int32 `gorm:"column:spellshield;type:int;default:0;" json:"spellshield"`
	//[115] strikethrough                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Strikethrough int32 `gorm:"column:strikethrough;type:int;default:0;" json:"strikethrough"`
	//[116] stunresist                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Stunresist int32 `gorm:"column:stunresist;type:int;default:0;" json:"stunresist"`
	//[117] summonedflag                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Summonedflag uint32 `gorm:"column:summonedflag;type:utinyint;default:0;" json:"summonedflag"`
	//[118] tradeskills                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Tradeskills int32 `gorm:"column:tradeskills;type:int;default:0;" json:"tradeskills"`
	//[119] favor                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Favor int32 `gorm:"column:favor;type:int;default:0;" json:"favor"`
	//[120] weight                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Weight int32 `gorm:"column:weight;type:int;default:0;" json:"weight"`
	//[121] UNK012                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK012 int32 `gorm:"column:UNK012;type:int;default:0;" json:"unk_012"`
	//[122] UNK013                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK013 int32 `gorm:"column:UNK013;type:int;default:0;" json:"unk_013"`
	//[123] benefitflag                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Benefitflag int32 `gorm:"column:benefitflag;type:int;default:0;" json:"benefitflag"`
	//[124] UNK054                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK054 int32 `gorm:"column:UNK054;type:int;default:0;" json:"unk_054"`
	//[125] UNK059                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK059 int32 `gorm:"column:UNK059;type:int;default:0;" json:"unk_059"`
	//[126] booktype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Booktype int32 `gorm:"column:booktype;type:int;default:0;" json:"booktype"`
	//[127] recastdelay                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Recastdelay int32 `gorm:"column:recastdelay;type:int;default:0;" json:"recastdelay"`
	//[128] recasttype                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Recasttype int32 `gorm:"column:recasttype;type:int;default:0;" json:"recasttype"`
	//[129] guildfavor                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Guildfavor int32 `gorm:"column:guildfavor;type:int;default:0;" json:"guildfavor"`
	//[130] UNK123                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK123 int32 `gorm:"column:UNK123;type:int;default:0;" json:"unk_123"`
	//[131] UNK124                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK124 int32 `gorm:"column:UNK124;type:int;default:0;" json:"unk_124"`
	//[132] attuneable                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Attuneable int32 `gorm:"column:attuneable;type:int;default:0;" json:"attuneable"`
	//[133] nopet                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Nopet int32 `gorm:"column:nopet;type:int;default:0;" json:"nopet"`
	//[134] updated                                        datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: ['0000-00-00 00:00:00']
	Updated time.Time `gorm:"column:updated;type:datetime;default:'0000-00-00 00:00:00';" json:"updated"`
	//[135] comment                                        varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Comment string `gorm:"column:comment;type:varchar;size:255;default:'';" json:"comment"`
	//[136] UNK127                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK127 int32 `gorm:"column:UNK127;type:int;default:0;" json:"unk_127"`
	//[137] pointtype                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pointtype int32 `gorm:"column:pointtype;type:int;default:0;" json:"pointtype"`
	//[138] potionbelt                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Potionbelt int32 `gorm:"column:potionbelt;type:int;default:0;" json:"potionbelt"`
	//[139] potionbeltslots                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Potionbeltslots int32 `gorm:"column:potionbeltslots;type:int;default:0;" json:"potionbeltslots"`
	//[140] stacksize                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Stacksize int32 `gorm:"column:stacksize;type:int;default:0;" json:"stacksize"`
	//[141] notransfer                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Notransfer int32 `gorm:"column:notransfer;type:int;default:0;" json:"notransfer"`
	//[142] stackable                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Stackable int32 `gorm:"column:stackable;type:int;default:0;" json:"stackable"`
	//[143] UNK134                                         varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	UNK134 string `gorm:"column:UNK134;type:varchar;size:255;default:'';" json:"unk_134"`
	//[144] UNK137                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK137 int32 `gorm:"column:UNK137;type:int;default:0;" json:"unk_137"`
	//[145] proceffect                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Proceffect int32 `gorm:"column:proceffect;type:int;default:0;" json:"proceffect"`
	//[146] proctype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Proctype int32 `gorm:"column:proctype;type:int;default:0;" json:"proctype"`
	//[147] proclevel2                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Proclevel2 int32 `gorm:"column:proclevel2;type:int;default:0;" json:"proclevel_2"`
	//[148] proclevel                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Proclevel int32 `gorm:"column:proclevel;type:int;default:0;" json:"proclevel"`
	//[149] UNK142                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK142 int32 `gorm:"column:UNK142;type:int;default:0;" json:"unk_142"`
	//[150] worneffect                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Worneffect int32 `gorm:"column:worneffect;type:int;default:0;" json:"worneffect"`
	//[151] worntype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Worntype int32 `gorm:"column:worntype;type:int;default:0;" json:"worntype"`
	//[152] wornlevel2                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornlevel2 int32 `gorm:"column:wornlevel2;type:int;default:0;" json:"wornlevel_2"`
	//[153] wornlevel                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornlevel int32 `gorm:"column:wornlevel;type:int;default:0;" json:"wornlevel"`
	//[154] UNK147                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK147 int32 `gorm:"column:UNK147;type:int;default:0;" json:"unk_147"`
	//[155] focustype                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focustype int32 `gorm:"column:focustype;type:int;default:0;" json:"focustype"`
	//[156] focuslevel2                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focuslevel2 int32 `gorm:"column:focuslevel2;type:int;default:0;" json:"focuslevel_2"`
	//[157] focuslevel                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focuslevel int32 `gorm:"column:focuslevel;type:int;default:0;" json:"focuslevel"`
	//[158] UNK152                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK152 int32 `gorm:"column:UNK152;type:int;default:0;" json:"unk_152"`
	//[159] scrolleffect                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrolleffect int32 `gorm:"column:scrolleffect;type:int;default:0;" json:"scrolleffect"`
	//[160] scrolltype                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrolltype int32 `gorm:"column:scrolltype;type:int;default:0;" json:"scrolltype"`
	//[161] scrolllevel2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrolllevel2 int32 `gorm:"column:scrolllevel2;type:int;default:0;" json:"scrolllevel_2"`
	//[162] scrolllevel                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrolllevel int32 `gorm:"column:scrolllevel;type:int;default:0;" json:"scrolllevel"`
	//[163] UNK157                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK157 int32 `gorm:"column:UNK157;type:int;default:0;" json:"unk_157"`
	//[164] serialized                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	Serialized null.Time `gorm:"column:serialized;type:datetime;" json:"serialized"`
	//[165] verified                                       datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	Verified null.Time `gorm:"column:verified;type:datetime;" json:"verified"`
	//[166] serialization                                  text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Serialization null.String `gorm:"column:serialization;type:text;size:65535;" json:"serialization"`
	//[167] source                                         varchar(20)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 20      default: [”]
	Source string `gorm:"column:source;type:varchar;size:20;default:'';" json:"source"`
	//[168] UNK033                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK033 int32 `gorm:"column:UNK033;type:int;default:0;" json:"unk_033"`
	//[169] lorefile                                       varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Lorefile string `gorm:"column:lorefile;type:varchar;size:32;default:'';" json:"lorefile"`
	//[170] UNK014                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK014 int32 `gorm:"column:UNK014;type:int;default:0;" json:"unk_014"`
	//[171] svcorruption                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Svcorruption int32 `gorm:"column:svcorruption;type:int;default:0;" json:"svcorruption"`
	//[172] skillmodmax                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Skillmodmax int32 `gorm:"column:skillmodmax;type:int;default:0;" json:"skillmodmax"`
	//[173] UNK060                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK060 int32 `gorm:"column:UNK060;type:int;default:0;" json:"unk_060"`
	//[174] augslot1unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot1unk2 int32 `gorm:"column:augslot1unk2;type:int;default:0;" json:"augslot_1_unk_2"`
	//[175] augslot2unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot2unk2 int32 `gorm:"column:augslot2unk2;type:int;default:0;" json:"augslot_2_unk_2"`
	//[176] augslot3unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot3unk2 int32 `gorm:"column:augslot3unk2;type:int;default:0;" json:"augslot_3_unk_2"`
	//[177] augslot4unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot4unk2 int32 `gorm:"column:augslot4unk2;type:int;default:0;" json:"augslot_4_unk_2"`
	//[178] augslot5unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot5unk2 int32 `gorm:"column:augslot5unk2;type:int;default:0;" json:"augslot_5_unk_2"`
	//[179] augslot6unk2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Augslot6unk2 int32 `gorm:"column:augslot6unk2;type:int;default:0;" json:"augslot_6_unk_2"`
	//[180] UNK120                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK120 int32 `gorm:"column:UNK120;type:int;default:0;" json:"unk_120"`
	//[181] UNK121                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK121 int32 `gorm:"column:UNK121;type:int;default:0;" json:"unk_121"`
	//[182] questitemflag                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Questitemflag int32 `gorm:"column:questitemflag;type:int;default:0;" json:"questitemflag"`
	//[183] UNK132                                         text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	UNK132 null.String `gorm:"column:UNK132;type:text;size:65535;" json:"unk_132"`
	//[184] clickunk5                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clickunk5 int32 `gorm:"column:clickunk5;type:int;default:0;" json:"clickunk_5"`
	//[185] clickunk6                                      varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Clickunk6 string `gorm:"column:clickunk6;type:varchar;size:32;default:'';" json:"clickunk_6"`
	//[186] clickunk7                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Clickunk7 int32 `gorm:"column:clickunk7;type:int;default:0;" json:"clickunk_7"`
	//[187] procunk1                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procunk1 int32 `gorm:"column:procunk1;type:int;default:0;" json:"procunk_1"`
	//[188] procunk2                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procunk2 int32 `gorm:"column:procunk2;type:int;default:0;" json:"procunk_2"`
	//[189] procunk3                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procunk3 int32 `gorm:"column:procunk3;type:int;default:0;" json:"procunk_3"`
	//[190] procunk4                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procunk4 int32 `gorm:"column:procunk4;type:int;default:0;" json:"procunk_4"`
	//[191] procunk6                                       varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Procunk6 string `gorm:"column:procunk6;type:varchar;size:32;default:'';" json:"procunk_6"`
	//[192] procunk7                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Procunk7 int32 `gorm:"column:procunk7;type:int;default:0;" json:"procunk_7"`
	//[193] wornunk1                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk1 int32 `gorm:"column:wornunk1;type:int;default:0;" json:"wornunk_1"`
	//[194] wornunk2                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk2 int32 `gorm:"column:wornunk2;type:int;default:0;" json:"wornunk_2"`
	//[195] wornunk3                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk3 int32 `gorm:"column:wornunk3;type:int;default:0;" json:"wornunk_3"`
	//[196] wornunk4                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk4 int32 `gorm:"column:wornunk4;type:int;default:0;" json:"wornunk_4"`
	//[197] wornunk5                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk5 int32 `gorm:"column:wornunk5;type:int;default:0;" json:"wornunk_5"`
	//[198] wornunk6                                       varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Wornunk6 string `gorm:"column:wornunk6;type:varchar;size:32;default:'';" json:"wornunk_6"`
	//[199] wornunk7                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Wornunk7 int32 `gorm:"column:wornunk7;type:int;default:0;" json:"wornunk_7"`
	//[200] focusunk1                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk1 int32 `gorm:"column:focusunk1;type:int;default:0;" json:"focusunk_1"`
	//[201] focusunk2                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk2 int32 `gorm:"column:focusunk2;type:int;default:0;" json:"focusunk_2"`
	//[202] focusunk3                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk3 int32 `gorm:"column:focusunk3;type:int;default:0;" json:"focusunk_3"`
	//[203] focusunk4                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk4 int32 `gorm:"column:focusunk4;type:int;default:0;" json:"focusunk_4"`
	//[204] focusunk5                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk5 int32 `gorm:"column:focusunk5;type:int;default:0;" json:"focusunk_5"`
	//[205] focusunk6                                      varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Focusunk6 string `gorm:"column:focusunk6;type:varchar;size:32;default:'';" json:"focusunk_6"`
	//[206] focusunk7                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Focusunk7 int32 `gorm:"column:focusunk7;type:int;default:0;" json:"focusunk_7"`
	//[207] scrollunk1                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk1 int32 `gorm:"column:scrollunk1;type:int;default:0;" json:"scrollunk_1"`
	//[208] scrollunk2                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk2 int32 `gorm:"column:scrollunk2;type:int;default:0;" json:"scrollunk_2"`
	//[209] scrollunk3                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk3 int32 `gorm:"column:scrollunk3;type:int;default:0;" json:"scrollunk_3"`
	//[210] scrollunk4                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk4 int32 `gorm:"column:scrollunk4;type:int;default:0;" json:"scrollunk_4"`
	//[211] scrollunk5                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk5 int32 `gorm:"column:scrollunk5;type:int;default:0;" json:"scrollunk_5"`
	//[212] scrollunk6                                     varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Scrollunk6 string `gorm:"column:scrollunk6;type:varchar;size:32;default:'';" json:"scrollunk_6"`
	//[213] scrollunk7                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Scrollunk7 int32 `gorm:"column:scrollunk7;type:int;default:0;" json:"scrollunk_7"`
	//[214] UNK193                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK193 int32 `gorm:"column:UNK193;type:int;default:0;" json:"unk_193"`
	//[215] purity                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Purity int32 `gorm:"column:purity;type:int;default:0;" json:"purity"`
	//[216] evoitem                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Evoitem int32 `gorm:"column:evoitem;type:int;default:0;" json:"evoitem"`
	//[217] evoid                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Evoid int32 `gorm:"column:evoid;type:int;default:0;" json:"evoid"`
	//[218] evolvinglevel                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Evolvinglevel int32 `gorm:"column:evolvinglevel;type:int;default:0;" json:"evolvinglevel"`
	//[219] evomax                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Evomax int32 `gorm:"column:evomax;type:int;default:0;" json:"evomax"`
	//[220] clickname                                      varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Clickname string `gorm:"column:clickname;type:varchar;size:64;default:'';" json:"clickname"`
	//[221] procname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Procname string `gorm:"column:procname;type:varchar;size:64;default:'';" json:"procname"`
	//[222] wornname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Wornname string `gorm:"column:wornname;type:varchar;size:64;default:'';" json:"wornname"`
	//[223] focusname                                      varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Focusname string `gorm:"column:focusname;type:varchar;size:64;default:'';" json:"focusname"`
	//[224] scrollname                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Scrollname string `gorm:"column:scrollname;type:varchar;size:64;default:'';" json:"scrollname"`
	//[225] dsmitigation                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Dsmitigation int32 `gorm:"column:dsmitigation;type:smallint;default:0;" json:"dsmitigation"`
	//[226] heroic_str                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicStr int32 `gorm:"column:heroic_str;type:smallint;default:0;" json:"heroic_str"`
	//[227] heroic_int                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicInt int32 `gorm:"column:heroic_int;type:smallint;default:0;" json:"heroic_int"`
	//[228] heroic_wis                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicWis int32 `gorm:"column:heroic_wis;type:smallint;default:0;" json:"heroic_wis"`
	//[229] heroic_agi                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicAgi int32 `gorm:"column:heroic_agi;type:smallint;default:0;" json:"heroic_agi"`
	//[230] heroic_dex                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicDex int32 `gorm:"column:heroic_dex;type:smallint;default:0;" json:"heroic_dex"`
	//[231] heroic_sta                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicSta int32 `gorm:"column:heroic_sta;type:smallint;default:0;" json:"heroic_sta"`
	//[232] heroic_cha                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicCha int32 `gorm:"column:heroic_cha;type:smallint;default:0;" json:"heroic_cha"`
	//[233] heroic_pr                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicPr int32 `gorm:"column:heroic_pr;type:smallint;default:0;" json:"heroic_pr"`
	//[234] heroic_dr                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicDr int32 `gorm:"column:heroic_dr;type:smallint;default:0;" json:"heroic_dr"`
	//[235] heroic_fr                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicFr int32 `gorm:"column:heroic_fr;type:smallint;default:0;" json:"heroic_fr"`
	//[236] heroic_cr                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicCr int32 `gorm:"column:heroic_cr;type:smallint;default:0;" json:"heroic_cr"`
	//[237] heroic_mr                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicMr int32 `gorm:"column:heroic_mr;type:smallint;default:0;" json:"heroic_mr"`
	//[238] heroic_svcorrup                                smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	HeroicSvcorrup int32 `gorm:"column:heroic_svcorrup;type:smallint;default:0;" json:"heroic_svcorrup"`
	//[239] healamt                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Healamt int32 `gorm:"column:healamt;type:smallint;default:0;" json:"healamt"`
	//[240] spelldmg                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Spelldmg int32 `gorm:"column:spelldmg;type:smallint;default:0;" json:"spelldmg"`
	//[241] clairvoyance                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Clairvoyance int32 `gorm:"column:clairvoyance;type:smallint;default:0;" json:"clairvoyance"`
	//[242] backstabdmg                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Backstabdmg int32 `gorm:"column:backstabdmg;type:smallint;default:0;" json:"backstabdmg"`
	//[243] created                                        varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Created string `gorm:"column:created;type:varchar;size:64;default:'';" json:"created"`
	//[244] elitematerial                                  smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Elitematerial int32 `gorm:"column:elitematerial;type:smallint;default:0;" json:"elitematerial"`
	//[245] ldonsellbackrate                               smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Ldonsellbackrate int32 `gorm:"column:ldonsellbackrate;type:smallint;default:0;" json:"ldonsellbackrate"`
	//[246] scriptfileid                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Scriptfileid int32 `gorm:"column:scriptfileid;type:smallint;default:0;" json:"scriptfileid"`
	//[247] expendablearrow                                smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Expendablearrow int32 `gorm:"column:expendablearrow;type:smallint;default:0;" json:"expendablearrow"`
	//[248] powersourcecapacity                            smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Powersourcecapacity int32 `gorm:"column:powersourcecapacity;type:smallint;default:0;" json:"powersourcecapacity"`
	//[249] bardeffect                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardeffect int32 `gorm:"column:bardeffect;type:smallint;default:0;" json:"bardeffect"`
	//[250] bardeffecttype                                 smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardeffecttype int32 `gorm:"column:bardeffecttype;type:smallint;default:0;" json:"bardeffecttype"`
	//[251] bardlevel2                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardlevel2 int32 `gorm:"column:bardlevel2;type:smallint;default:0;" json:"bardlevel_2"`
	//[252] bardlevel                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardlevel int32 `gorm:"column:bardlevel;type:smallint;default:0;" json:"bardlevel"`
	//[253] bardunk1                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk1 int32 `gorm:"column:bardunk1;type:smallint;default:0;" json:"bardunk_1"`
	//[254] bardunk2                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk2 int32 `gorm:"column:bardunk2;type:smallint;default:0;" json:"bardunk_2"`
	//[255] bardunk3                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk3 int32 `gorm:"column:bardunk3;type:smallint;default:0;" json:"bardunk_3"`
	//[256] bardunk4                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk4 int32 `gorm:"column:bardunk4;type:smallint;default:0;" json:"bardunk_4"`
	//[257] bardunk5                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk5 int32 `gorm:"column:bardunk5;type:smallint;default:0;" json:"bardunk_5"`
	//[258] bardname                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Bardname string `gorm:"column:bardname;type:varchar;size:64;default:'';" json:"bardname"`
	//[259] bardunk7                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Bardunk7 int32 `gorm:"column:bardunk7;type:smallint;default:0;" json:"bardunk_7"`
	//[260] UNK214                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	UNK214 int32 `gorm:"column:UNK214;type:smallint;default:0;" json:"unk_214"`
	//[261] subtype                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Subtype int32 `gorm:"column:subtype;type:int;default:0;" json:"subtype"`
	//[262] UNK220                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK220 int32 `gorm:"column:UNK220;type:int;default:0;" json:"unk_220"`
	//[263] UNK221                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK221 int32 `gorm:"column:UNK221;type:int;default:0;" json:"unk_221"`
	//[264] heirloom                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Heirloom int32 `gorm:"column:heirloom;type:int;default:0;" json:"heirloom"`
	//[265] UNK223                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK223 int32 `gorm:"column:UNK223;type:int;default:0;" json:"unk_223"`
	//[266] UNK224                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK224 int32 `gorm:"column:UNK224;type:int;default:0;" json:"unk_224"`
	//[267] UNK225                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK225 int32 `gorm:"column:UNK225;type:int;default:0;" json:"unk_225"`
	//[268] UNK226                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK226 int32 `gorm:"column:UNK226;type:int;default:0;" json:"unk_226"`
	//[269] UNK227                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK227 int32 `gorm:"column:UNK227;type:int;default:0;" json:"unk_227"`
	//[270] UNK228                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK228 int32 `gorm:"column:UNK228;type:int;default:0;" json:"unk_228"`
	//[271] UNK229                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK229 int32 `gorm:"column:UNK229;type:int;default:0;" json:"unk_229"`
	//[272] UNK230                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK230 int32 `gorm:"column:UNK230;type:int;default:0;" json:"unk_230"`
	//[273] UNK231                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK231 int32 `gorm:"column:UNK231;type:int;default:0;" json:"unk_231"`
	//[274] UNK232                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK232 int32 `gorm:"column:UNK232;type:int;default:0;" json:"unk_232"`
	//[275] UNK233                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK233 int32 `gorm:"column:UNK233;type:int;default:0;" json:"unk_233"`
	//[276] UNK234                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK234 int32 `gorm:"column:UNK234;type:int;default:0;" json:"unk_234"`
	//[277] placeable                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Placeable int32 `gorm:"column:placeable;type:int;default:0;" json:"placeable"`
	//[278] UNK236                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK236 int32 `gorm:"column:UNK236;type:int;default:0;" json:"unk_236"`
	//[279] UNK237                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK237 int32 `gorm:"column:UNK237;type:int;default:0;" json:"unk_237"`
	//[280] UNK238                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK238 int32 `gorm:"column:UNK238;type:int;default:0;" json:"unk_238"`
	//[281] UNK239                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK239 int32 `gorm:"column:UNK239;type:int;default:0;" json:"unk_239"`
	//[282] UNK240                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK240 int32 `gorm:"column:UNK240;type:int;default:0;" json:"unk_240"`
	//[283] UNK241                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	UNK241 int32 `gorm:"column:UNK241;type:int;default:0;" json:"unk_241"`
	//[284] epicitem                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Epicitem int32 `gorm:"column:epicitem;type:int;default:0;" json:"epicitem"`
}

Items struct is a row record of the items table in the eqemu database

func (*Items) BeforeSave

func (i *Items) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Items) IdfileClean

func (i *Items) IdfileClean() string

IdfileClean returns an ID file without IT prefix

func (*Items) Level

func (i *Items) Level() string

Level returns an item's estamated scoring level

func (*Items) Prepare

func (i *Items) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Items) TableInfo

func (i *Items) TableInfo() *TableInfo

TableInfo return table meta data

func (*Items) TableName

func (i *Items) TableName() string

TableName sets the insert table name for this struct type

func (*Items) Validate

func (i *Items) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Keyring

type Keyring struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:char_id;type:int;default:0;" json:"char_id"`
	//[ 1] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID int32 `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
}

Keyring struct is a row record of the keyring table in the eqemu database

func (*Keyring) BeforeSave

func (k *Keyring) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Keyring) Prepare

func (k *Keyring) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Keyring) TableInfo

func (k *Keyring) TableInfo() *TableInfo

TableInfo return table meta data

func (*Keyring) TableName

func (k *Keyring) TableName() string

TableName sets the insert table name for this struct type

func (*Keyring) Validate

func (k *Keyring) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Launcher

type Launcher struct {
	//[ 0] name                                           varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"primary_key;column:name;type:varchar;size:64;default:'';" json:"name"`
	//[ 1] dynamics                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Dynamics uint32 `gorm:"column:dynamics;type:utinyint;default:0;" json:"dynamics"`
}

Launcher struct is a row record of the launcher table in the eqemu database

func (*Launcher) BeforeSave

func (l *Launcher) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Launcher) Prepare

func (l *Launcher) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Launcher) TableInfo

func (l *Launcher) TableInfo() *TableInfo

TableInfo return table meta data

func (*Launcher) TableName

func (l *Launcher) TableName() string

TableName sets the insert table name for this struct type

func (*Launcher) Validate

func (l *Launcher) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LauncherZones

type LauncherZones struct {
	//[ 0] launcher                                       varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Launcher string `gorm:"primary_key;column:launcher;type:varchar;size:64;default:'';" json:"launcher"`
	//[ 1] zone                                           varchar(32)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Zone string `gorm:"primary_key;column:zone;type:varchar;size:32;default:'';" json:"zone"`
	//[ 2] port                                           mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Port int32 `gorm:"column:port;type:mediumint;default:0;" json:"port"`
}

LauncherZones struct is a row record of the launcher_zones table in the eqemu database

func (*LauncherZones) BeforeSave

func (l *LauncherZones) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LauncherZones) Prepare

func (l *LauncherZones) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LauncherZones) TableInfo

func (l *LauncherZones) TableInfo() *TableInfo

TableInfo return table meta data

func (*LauncherZones) TableName

func (l *LauncherZones) TableName() string

TableName sets the insert table name for this struct type

func (*LauncherZones) Validate

func (l *LauncherZones) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LdonTrapEntries

type LdonTrapEntries struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] trap_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	TrapID uint32 `gorm:"primary_key;column:trap_id;type:uint;default:0;" json:"trap_id"`
}

LdonTrapEntries struct is a row record of the ldon_trap_entries table in the eqemu database

func (*LdonTrapEntries) BeforeSave

func (l *LdonTrapEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LdonTrapEntries) Prepare

func (l *LdonTrapEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LdonTrapEntries) TableInfo

func (l *LdonTrapEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*LdonTrapEntries) TableName

func (l *LdonTrapEntries) TableName() string

TableName sets the insert table name for this struct type

func (*LdonTrapEntries) Validate

func (l *LdonTrapEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LdonTrapTemplates

type LdonTrapTemplates struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] type                                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Type uint32 `gorm:"column:type;type:utinyint;default:1;" json:"type"`
	//[ 2] spell_id                                       usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	SpellID uint32 `gorm:"column:spell_id;type:usmallint;default:0;" json:"spell_id"`
	//[ 3] skill                                          usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Skill uint32 `gorm:"column:skill;type:usmallint;default:0;" json:"skill"`
	//[ 4] locked                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Locked uint32 `gorm:"column:locked;type:utinyint;default:0;" json:"locked"`
}

LdonTrapTemplates struct is a row record of the ldon_trap_templates table in the eqemu database

func (*LdonTrapTemplates) BeforeSave

func (l *LdonTrapTemplates) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LdonTrapTemplates) Prepare

func (l *LdonTrapTemplates) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LdonTrapTemplates) TableInfo

func (l *LdonTrapTemplates) TableInfo() *TableInfo

TableInfo return table meta data

func (*LdonTrapTemplates) TableName

func (l *LdonTrapTemplates) TableName() string

TableName sets the insert table name for this struct type

func (*LdonTrapTemplates) Validate

func (l *LdonTrapTemplates) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LevelExpMods

type LevelExpMods struct {
	//[ 0] level                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Level int32 `gorm:"primary_key;column:level;type:int;default:0;" json:"level"`
	//[ 1] exp_mod                                        float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [NULL]
	ExpMod null.Float `gorm:"column:exp_mod;type:float;" json:"exp_mod"`
	//[ 2] aa_exp_mod                                     float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [NULL]
	AaExpMod null.Float `gorm:"column:aa_exp_mod;type:float;" json:"aa_exp_mod"`
}

LevelExpMods struct is a row record of the level_exp_mods table in the eqemu database

func (*LevelExpMods) BeforeSave

func (l *LevelExpMods) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LevelExpMods) Prepare

func (l *LevelExpMods) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LevelExpMods) TableInfo

func (l *LevelExpMods) TableInfo() *TableInfo

TableInfo return table meta data

func (*LevelExpMods) TableName

func (l *LevelExpMods) TableName() string

TableName sets the insert table name for this struct type

func (*LevelExpMods) Validate

func (l *LevelExpMods) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Lfguild

type Lfguild struct {
	//[ 0] type                                           utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Type uint32 `gorm:"primary_key;column:type;type:utinyint;default:0;" json:"type"`
	//[ 1] name                                           varchar(32)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 32      default: []
	Name string `gorm:"primary_key;column:name;type:varchar;size:32;" json:"name"`
	//[ 2] comment                                        varchar(256)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 256     default: []
	Comment string `gorm:"column:comment;type:varchar;size:256;" json:"comment"`
	//[ 3] fromlevel                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Fromlevel uint32 `gorm:"column:fromlevel;type:utinyint;default:0;" json:"fromlevel"`
	//[ 4] tolevel                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Tolevel uint32 `gorm:"column:tolevel;type:utinyint;default:0;" json:"tolevel"`
	//[ 5] classes                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Classes uint32 `gorm:"column:classes;type:uint;default:0;" json:"classes"`
	//[ 6] aacount                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aacount uint32 `gorm:"column:aacount;type:uint;default:0;" json:"aacount"`
	//[ 7] timezone                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Timezone uint32 `gorm:"column:timezone;type:uint;default:0;" json:"timezone"`
	//[ 8] timeposted                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Timeposted uint32 `gorm:"column:timeposted;type:uint;default:0;" json:"timeposted"`
}

Lfguild struct is a row record of the lfguild table in the eqemu database

func (*Lfguild) BeforeSave

func (l *Lfguild) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Lfguild) Prepare

func (l *Lfguild) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Lfguild) TableInfo

func (l *Lfguild) TableInfo() *TableInfo

TableInfo return table meta data

func (*Lfguild) TableName

func (l *Lfguild) TableName() string

TableName sets the insert table name for this struct type

func (*Lfguild) Validate

func (l *Lfguild) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoginAPITokens

type LoginAPITokens struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] token                                          varchar(200)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 200     default: [NULL]
	Token null.String `gorm:"column:token;type:varchar;size:200;" json:"token"`
	//[ 2] can_write                                      int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CanWrite null.Int `gorm:"column:can_write;type:int;default:0;" json:"can_write"`
	//[ 3] can_read                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CanRead null.Int `gorm:"column:can_read;type:int;default:0;" json:"can_read"`
	//[ 4] created_at                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	CreatedAt null.Time `gorm:"column:created_at;type:datetime;" json:"created_at"`
	//[ 5] updated_at                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [current_timestamp()]
	UpdatedAt null.Time `gorm:"column:updated_at;type:datetime;" json:"updated_at"`
}

LoginAPITokens struct is a row record of the login_api_tokens table in the eqemu database

func (*LoginAPITokens) BeforeSave

func (l *LoginAPITokens) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoginAPITokens) Prepare

func (l *LoginAPITokens) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoginAPITokens) TableInfo

func (l *LoginAPITokens) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoginAPITokens) TableName

func (l *LoginAPITokens) TableName() string

TableName sets the insert table name for this struct type

func (*LoginAPITokens) Validate

func (l *LoginAPITokens) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoginAccounts

type LoginAccounts struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] account_name                                   varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: []
	AccountName string `gorm:"column:account_name;type:varchar;size:50;" json:"account_name"`
	//[ 2] account_password                               text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	AccountPassword string `gorm:"column:account_password;type:text;size:65535;" json:"account_password"`
	//[ 3] account_email                                  varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: []
	AccountEmail string `gorm:"column:account_email;type:varchar;size:100;" json:"account_email"`
	//[ 4] source_loginserver                             varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	SourceLoginserver null.String `gorm:"column:source_loginserver;type:varchar;size:64;" json:"source_loginserver"`
	//[ 5] last_ip_address                                varchar(15)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 15      default: []
	LastIPAddress string `gorm:"column:last_ip_address;type:varchar;size:15;" json:"last_ip_address"`
	//[ 6] last_login_date                                datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: []
	LastLoginDate time.Time `gorm:"column:last_login_date;type:datetime;" json:"last_login_date"`
	//[ 7] created_at                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	CreatedAt null.Time `gorm:"column:created_at;type:datetime;" json:"created_at"`
	//[ 8] updated_at                                     datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [current_timestamp()]
	UpdatedAt null.Time `gorm:"column:updated_at;type:datetime;" json:"updated_at"`
}

LoginAccounts struct is a row record of the login_accounts table in the eqemu database

func (*LoginAccounts) BeforeSave

func (l *LoginAccounts) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoginAccounts) Prepare

func (l *LoginAccounts) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoginAccounts) TableInfo

func (l *LoginAccounts) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoginAccounts) TableName

func (l *LoginAccounts) TableName() string

TableName sets the insert table name for this struct type

func (*LoginAccounts) Validate

func (l *LoginAccounts) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoginServerAdmins

type LoginServerAdmins struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] account_name                                   varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: []
	AccountName string `gorm:"column:account_name;type:varchar;size:30;" json:"account_name"`
	//[ 2] account_password                               varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: []
	AccountPassword string `gorm:"column:account_password;type:varchar;size:255;" json:"account_password"`
	//[ 3] first_name                                     varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: []
	FirstName string `gorm:"column:first_name;type:varchar;size:50;" json:"first_name"`
	//[ 4] last_name                                      varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: []
	LastName string `gorm:"column:last_name;type:varchar;size:50;" json:"last_name"`
	//[ 5] email                                          varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: []
	Email string `gorm:"column:email;type:varchar;size:100;" json:"email"`
	//[ 6] registration_date                              datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: []
	RegistrationDate time.Time `gorm:"column:registration_date;type:datetime;" json:"registration_date"`
	//[ 7] registration_ip_address                        varchar(15)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 15      default: []
	RegistrationIPAddress string `gorm:"column:registration_ip_address;type:varchar;size:15;" json:"registration_ip_address"`
}

LoginServerAdmins struct is a row record of the login_server_admins table in the eqemu database

func (*LoginServerAdmins) BeforeSave

func (l *LoginServerAdmins) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoginServerAdmins) Prepare

func (l *LoginServerAdmins) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoginServerAdmins) TableInfo

func (l *LoginServerAdmins) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoginServerAdmins) TableName

func (l *LoginServerAdmins) TableName() string

TableName sets the insert table name for this struct type

func (*LoginServerAdmins) Validate

func (l *LoginServerAdmins) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoginServerListTypes

type LoginServerListTypes struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] description                                    varchar(60)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 60      default: []
	Description string `gorm:"column:description;type:varchar;size:60;" json:"description"`
}

LoginServerListTypes struct is a row record of the login_server_list_types table in the eqemu database

func (*LoginServerListTypes) BeforeSave

func (l *LoginServerListTypes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoginServerListTypes) Prepare

func (l *LoginServerListTypes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoginServerListTypes) TableInfo

func (l *LoginServerListTypes) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoginServerListTypes) TableName

func (l *LoginServerListTypes) TableName() string

TableName sets the insert table name for this struct type

func (*LoginServerListTypes) Validate

func (l *LoginServerListTypes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoginWorldServers

type LoginWorldServers struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] long_name                                      varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: []
	LongName string `gorm:"column:long_name;type:varchar;size:100;" json:"long_name"`
	//[ 2] short_name                                     varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: []
	ShortName string `gorm:"column:short_name;type:varchar;size:100;" json:"short_name"`
	//[ 3] tag_description                                varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: [”]
	TagDescription string `gorm:"column:tag_description;type:varchar;size:50;default:'';" json:"tag_description"`
	//[ 4] login_server_list_type_id                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	LoginServerListTypeID int32 `gorm:"column:login_server_list_type_id;type:int;" json:"login_server_list_type_id"`
	//[ 5] last_login_date                                datetime             null: true   primary: false  isArray: false  auto: false  col: datetime        len: -1      default: [NULL]
	LastLoginDate null.Time `gorm:"column:last_login_date;type:datetime;" json:"last_login_date"`
	//[ 6] last_ip_address                                varchar(15)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 15      default: [NULL]
	LastIPAddress null.String `gorm:"column:last_ip_address;type:varchar;size:15;" json:"last_ip_address"`
	//[ 7] login_server_admin_id                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	LoginServerAdminID int32 `gorm:"column:login_server_admin_id;type:int;" json:"login_server_admin_id"`
	//[ 8] is_server_trusted                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	IsServerTrusted int32 `gorm:"column:is_server_trusted;type:int;" json:"is_server_trusted"`
	//[ 9] note                                           varchar(255)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [NULL]
	Note null.String `gorm:"column:note;type:varchar;size:255;" json:"note"`
}

LoginWorldServers struct is a row record of the login_world_servers table in the eqemu database

func (*LoginWorldServers) BeforeSave

func (l *LoginWorldServers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoginWorldServers) Prepare

func (l *LoginWorldServers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoginWorldServers) TableInfo

func (l *LoginWorldServers) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoginWorldServers) TableName

func (l *LoginWorldServers) TableName() string

TableName sets the insert table name for this struct type

func (*LoginWorldServers) Validate

func (l *LoginWorldServers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LogsysCategories

type LogsysCategories struct {
	//[ 0] log_category_id                                int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	LogCategoryID int32 `gorm:"primary_key;column:log_category_id;type:int;" json:"log_category_id"`
	//[ 1] log_category_description                       varchar(150)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 150     default: [NULL]
	LogCategoryDescription null.String `gorm:"column:log_category_description;type:varchar;size:150;" json:"log_category_description"`
	//[ 2] log_to_console                                 smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	LogToConsole null.Int `gorm:"column:log_to_console;type:smallint;default:0;" json:"log_to_console"`
	//[ 3] log_to_file                                    smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	LogToFile null.Int `gorm:"column:log_to_file;type:smallint;default:0;" json:"log_to_file"`
	//[ 4] log_to_gmsay                                   smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	LogToGmsay null.Int `gorm:"column:log_to_gmsay;type:smallint;default:0;" json:"log_to_gmsay"`
}

LogsysCategories struct is a row record of the logsys_categories table in the eqemu database

func (*LogsysCategories) BeforeSave

func (l *LogsysCategories) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LogsysCategories) Prepare

func (l *LogsysCategories) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LogsysCategories) TableInfo

func (l *LogsysCategories) TableInfo() *TableInfo

TableInfo return table meta data

func (*LogsysCategories) TableName

func (l *LogsysCategories) TableName() string

TableName sets the insert table name for this struct type

func (*LogsysCategories) Validate

func (l *LogsysCategories) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Lootdrop

type Lootdrop struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
	//[ 2] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[ 3] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[ 4] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[ 5] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Lootdrop struct is a row record of the lootdrop table in the eqemu database

func (*Lootdrop) BeforeSave

func (l *Lootdrop) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Lootdrop) Prepare

func (l *Lootdrop) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Lootdrop) TableInfo

func (l *Lootdrop) TableInfo() *TableInfo

TableInfo return table meta data

func (*Lootdrop) TableName

func (l *Lootdrop) TableName() string

TableName sets the insert table name for this struct type

func (*Lootdrop) Validate

func (l *Lootdrop) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LootdropEntries

type LootdropEntries struct {
	//[ 0] lootdrop_id                                    uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	LootdropID uint32 `gorm:"primary_key;column:lootdrop_id;type:uint;default:0;" json:"lootdrop_id"`
	//[ 1] item_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID int32 `gorm:"primary_key;column:item_id;type:int;default:0;" json:"item_id"`
	//[ 2] item_charges                                   usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [1]
	ItemCharges uint32 `gorm:"column:item_charges;type:usmallint;default:1;" json:"item_charges"`
	//[ 3] equip_item                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EquipItem uint32 `gorm:"column:equip_item;type:utinyint;default:0;" json:"equip_item"`
	//[ 4] chance                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [1]
	Chance float32 `gorm:"column:chance;type:float;default:1;" json:"chance"`
	//[ 5] disabled_chance                                float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	DisabledChance float32 `gorm:"column:disabled_chance;type:float;default:0;" json:"disabled_chance"`
	//[ 6] trivial_min_level                              usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	TrivialMinLevel uint32 `gorm:"column:trivial_min_level;type:usmallint;default:0;" json:"trivial_min_level"`
	//[ 7] trivial_max_level                              usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	TrivialMaxLevel uint32 `gorm:"column:trivial_max_level;type:usmallint;default:0;" json:"trivial_max_level"`
	//[ 8] multiplier                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Multiplier uint32 `gorm:"column:multiplier;type:utinyint;default:1;" json:"multiplier"`
	//[ 9] npc_min_level                                  usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	NpcMinLevel uint32 `gorm:"column:npc_min_level;type:usmallint;default:0;" json:"npc_min_level"`
	//[10] npc_max_level                                  usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	NpcMaxLevel uint32 `gorm:"column:npc_max_level;type:usmallint;default:0;" json:"npc_max_level"`
}

LootdropEntries struct is a row record of the lootdrop_entries table in the eqemu database

func (*LootdropEntries) BeforeSave

func (l *LootdropEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LootdropEntries) Prepare

func (l *LootdropEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LootdropEntries) TableInfo

func (l *LootdropEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*LootdropEntries) TableName

func (l *LootdropEntries) TableName() string

TableName sets the insert table name for this struct type

func (*LootdropEntries) Validate

func (l *LootdropEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Loottable

type Loottable struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
	//[ 2] mincash                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Mincash uint32 `gorm:"column:mincash;type:uint;default:0;" json:"mincash"`
	//[ 3] maxcash                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Maxcash uint32 `gorm:"column:maxcash;type:uint;default:0;" json:"maxcash"`
	//[ 4] avgcoin                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Avgcoin uint32 `gorm:"column:avgcoin;type:uint;default:0;" json:"avgcoin"`
	//[ 5] done                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Done int32 `gorm:"column:done;type:tinyint;default:0;" json:"done"`
	//[ 6] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[ 7] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[ 8] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[ 9] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Loottable struct is a row record of the loottable table in the eqemu database

func (*Loottable) BeforeSave

func (l *Loottable) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Loottable) Prepare

func (l *Loottable) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Loottable) TableInfo

func (l *Loottable) TableInfo() *TableInfo

TableInfo return table meta data

func (*Loottable) TableName

func (l *Loottable) TableName() string

TableName sets the insert table name for this struct type

func (*Loottable) Validate

func (l *Loottable) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type LoottableEntries

type LoottableEntries struct {
	//[ 0] loottable_id                                   uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	LoottableID uint32 `gorm:"primary_key;column:loottable_id;type:uint;default:0;" json:"loottable_id"`
	//[ 1] lootdrop_id                                    uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	LootdropID uint32 `gorm:"primary_key;column:lootdrop_id;type:uint;default:0;" json:"lootdrop_id"`
	//[ 2] multiplier                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Multiplier uint32 `gorm:"column:multiplier;type:utinyint;default:1;" json:"multiplier"`
	//[ 3] droplimit                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Droplimit uint32 `gorm:"column:droplimit;type:utinyint;default:0;" json:"droplimit"`
	//[ 4] mindrop                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Mindrop uint32 `gorm:"column:mindrop;type:utinyint;default:0;" json:"mindrop"`
	//[ 5] probability                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [100]
	Probability float32 `gorm:"column:probability;type:float;default:100;" json:"probability"`
}

LoottableEntries struct is a row record of the loottable_entries table in the eqemu database

func (*LoottableEntries) BeforeSave

func (l *LoottableEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*LoottableEntries) Prepare

func (l *LoottableEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*LoottableEntries) TableInfo

func (l *LoottableEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*LoottableEntries) TableName

func (l *LoottableEntries) TableName() string

TableName sets the insert table name for this struct type

func (*LoottableEntries) Validate

func (l *LoottableEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Mail

type Mail struct {
	//[ 0] msgid                                          uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	Msgid uint32 `gorm:"primary_key;AUTO_INCREMENT;column:msgid;type:uint;" json:"msgid"`
	//[ 1] charid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Charid uint32 `gorm:"column:charid;type:uint;default:0;" json:"charid"`
	//[ 2] timestamp                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Timestamp int32 `gorm:"column:timestamp;type:int;default:0;" json:"timestamp"`
	//[ 3] from                                           varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [”]
	From string `gorm:"column:from;type:varchar;size:100;default:'';" json:"from"`
	//[ 4] subject                                        varchar(200)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 200     default: [”]
	Subject string `gorm:"column:subject;type:varchar;size:200;default:'';" json:"subject"`
	//[ 5] body                                           text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Body string `gorm:"column:body;type:text;size:65535;" json:"body"`
	//[ 6] to                                             text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	To string `gorm:"column:to;type:text;size:65535;" json:"to"`
	//[ 7] status                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Status int32 `gorm:"column:status;type:tinyint;default:0;" json:"status"`
}

Mail struct is a row record of the mail table in the eqemu database

func (*Mail) BeforeSave

func (m *Mail) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Mail) Prepare

func (m *Mail) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Mail) TableInfo

func (m *Mail) TableInfo() *TableInfo

TableInfo return table meta data

func (*Mail) TableName

func (m *Mail) TableName() string

TableName sets the insert table name for this struct type

func (*Mail) Validate

func (m *Mail) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Merchantlist

type Merchantlist struct {
	//[ 0] merchantid                                     int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Merchantid int32 `gorm:"primary_key;column:merchantid;type:int;default:0;" json:"merchantid"`
	//[ 1] slot                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Slot int32 `gorm:"primary_key;column:slot;type:int;default:0;" json:"slot"`
	//[ 2] item                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Item int32 `gorm:"column:item;type:int;default:0;" json:"item"`
	//[ 3] faction_required                               smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-100]
	FactionRequired int32 `gorm:"column:faction_required;type:smallint;default:-100;" json:"faction_required"`
	//[ 4] level_required                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	LevelRequired uint32 `gorm:"column:level_required;type:utinyint;default:0;" json:"level_required"`
	//[ 5] alt_currency_cost                              usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	AltCurrencyCost uint32 `gorm:"column:alt_currency_cost;type:usmallint;default:0;" json:"alt_currency_cost"`
	//[ 6] classes_required                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [65535]
	ClassesRequired int32 `gorm:"column:classes_required;type:int;default:65535;" json:"classes_required"`
	//[ 7] probability                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Probability int32 `gorm:"column:probability;type:int;default:100;" json:"probability"`
	//[ 8] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[ 9] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[10] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[11] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Merchantlist struct is a row record of the merchantlist table in the eqemu database

func (*Merchantlist) BeforeSave

func (m *Merchantlist) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Merchantlist) Prepare

func (m *Merchantlist) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Merchantlist) TableInfo

func (m *Merchantlist) TableInfo() *TableInfo

TableInfo return table meta data

func (*Merchantlist) TableName

func (m *Merchantlist) TableName() string

TableName sets the insert table name for this struct type

func (*Merchantlist) Validate

func (m *Merchantlist) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type MerchantlistTemp

type MerchantlistTemp struct {
	//[ 0] npcid                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Npcid uint32 `gorm:"primary_key;column:npcid;type:uint;default:0;" json:"npcid"`
	//[ 1] slot                                           utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Slot uint32 `gorm:"primary_key;column:slot;type:utinyint;default:0;" json:"slot"`
	//[ 2] itemid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid uint32 `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 3] charges                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	Charges uint32 `gorm:"column:charges;type:uint;default:1;" json:"charges"`
}

MerchantlistTemp struct is a row record of the merchantlist_temp table in the eqemu database

func (*MerchantlistTemp) BeforeSave

func (m *MerchantlistTemp) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*MerchantlistTemp) Prepare

func (m *MerchantlistTemp) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*MerchantlistTemp) TableInfo

func (m *MerchantlistTemp) TableInfo() *TableInfo

TableInfo return table meta data

func (*MerchantlistTemp) TableName

func (m *MerchantlistTemp) TableName() string

TableName sets the insert table name for this struct type

func (*MerchantlistTemp) Validate

func (m *MerchantlistTemp) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Model

type Model interface {
	TableName() string
	BeforeSave() error
	Prepare()
	Validate(action Action) error
	TableInfo() *TableInfo
}

Model interface methods for database structs generated

type NameFilter

type NameFilter struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Name string `gorm:"column:name;type:varchar;size:30;default:'';" json:"name"`
}

NameFilter struct is a row record of the name_filter table in the eqemu database

func (*NameFilter) BeforeSave

func (n *NameFilter) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NameFilter) Prepare

func (n *NameFilter) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NameFilter) TableInfo

func (n *NameFilter) TableInfo() *TableInfo

TableInfo return table meta data

func (*NameFilter) TableName

func (n *NameFilter) TableName() string

TableName sets the insert table name for this struct type

func (*NameFilter) Validate

func (n *NameFilter) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcEmotes

type NpcEmotes struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] emoteid                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Emoteid uint32 `gorm:"column:emoteid;type:uint;default:0;" json:"emoteid"`
	//[ 2] event_                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Event int32 `gorm:"column:event_;type:tinyint;default:0;" json:"event_"`
	//[ 3] type                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Type int32 `gorm:"column:type;type:tinyint;default:0;" json:"type"`
	//[ 4] text                                           varchar(512)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 512     default: []
	Text string `gorm:"column:text;type:varchar;size:512;" json:"text"`
}

NpcEmotes struct is a row record of the npc_emotes table in the eqemu database

func (*NpcEmotes) BeforeSave

func (n *NpcEmotes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcEmotes) Prepare

func (n *NpcEmotes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcEmotes) TableInfo

func (n *NpcEmotes) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcEmotes) TableName

func (n *NpcEmotes) TableName() string

TableName sets the insert table name for this struct type

func (*NpcEmotes) Validate

func (n *NpcEmotes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcFaction

type NpcFaction struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           text(255)            null: true   primary: false  isArray: false  auto: false  col: text            len: 255     default: [NULL]
	Name null.String `gorm:"column:name;type:text;size:255;" json:"name"`
	//[ 2] primaryfaction                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Primaryfaction int32 `gorm:"column:primaryfaction;type:int;default:0;" json:"primaryfaction"`
	//[ 3] ignore_primary_assist                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	IgnorePrimaryAssist int32 `gorm:"column:ignore_primary_assist;type:tinyint;default:0;" json:"ignore_primary_assist"`
}

NpcFaction struct is a row record of the npc_faction table in the eqemu database

func (*NpcFaction) BeforeSave

func (n *NpcFaction) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcFaction) Prepare

func (n *NpcFaction) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcFaction) TableInfo

func (n *NpcFaction) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcFaction) TableName

func (n *NpcFaction) TableName() string

TableName sets the insert table name for this struct type

func (*NpcFaction) Validate

func (n *NpcFaction) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcFactionEntries

type NpcFactionEntries struct {
	//[ 0] npc_faction_id                                 uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	NpcFactionID uint32 `gorm:"primary_key;column:npc_faction_id;type:uint;default:0;" json:"npc_faction_id"`
	//[ 1] faction_id                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	FactionID uint32 `gorm:"primary_key;column:faction_id;type:uint;default:0;" json:"faction_id"`
	//[ 2] value                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Value int32 `gorm:"column:value;type:int;default:0;" json:"value"`
	//[ 3] npc_value                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	NpcValue int32 `gorm:"column:npc_value;type:tinyint;default:0;" json:"npc_value"`
	//[ 4] temp                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Temp int32 `gorm:"column:temp;type:tinyint;default:0;" json:"temp"`
}

NpcFactionEntries struct is a row record of the npc_faction_entries table in the eqemu database

func (*NpcFactionEntries) BeforeSave

func (n *NpcFactionEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcFactionEntries) Prepare

func (n *NpcFactionEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcFactionEntries) TableInfo

func (n *NpcFactionEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcFactionEntries) TableName

func (n *NpcFactionEntries) TableName() string

TableName sets the insert table name for this struct type

func (*NpcFactionEntries) Validate

func (n *NpcFactionEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcScaleGlobalBase

type NpcScaleGlobalBase struct {
	//[ 0] type                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Type int32 `gorm:"primary_key;column:type;type:int;default:0;" json:"type"`
	//[ 1] level                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Level int32 `gorm:"primary_key;column:level;type:int;" json:"level"`
	//[ 2] ac                                             int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Ac null.Int `gorm:"column:ac;type:int;" json:"ac"`
	//[ 3] hp                                             int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Hp null.Int `gorm:"column:hp;type:int;" json:"hp"`
	//[ 4] accuracy                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Accuracy null.Int `gorm:"column:accuracy;type:int;" json:"accuracy"`
	//[ 5] slow_mitigation                                int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	SlowMitigation null.Int `gorm:"column:slow_mitigation;type:int;" json:"slow_mitigation"`
	//[ 6] attack                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Attack null.Int `gorm:"column:attack;type:int;" json:"attack"`
	//[ 7] strength                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Strength null.Int `gorm:"column:strength;type:int;" json:"strength"`
	//[ 8] stamina                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Stamina null.Int `gorm:"column:stamina;type:int;" json:"stamina"`
	//[ 9] dexterity                                      int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Dexterity null.Int `gorm:"column:dexterity;type:int;" json:"dexterity"`
	//[10] agility                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Agility null.Int `gorm:"column:agility;type:int;" json:"agility"`
	//[11] intelligence                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Intelligence null.Int `gorm:"column:intelligence;type:int;" json:"intelligence"`
	//[12] wisdom                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Wisdom null.Int `gorm:"column:wisdom;type:int;" json:"wisdom"`
	//[13] charisma                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Charisma null.Int `gorm:"column:charisma;type:int;" json:"charisma"`
	//[14] magic_resist                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	MagicResist null.Int `gorm:"column:magic_resist;type:int;" json:"magic_resist"`
	//[15] cold_resist                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	ColdResist null.Int `gorm:"column:cold_resist;type:int;" json:"cold_resist"`
	//[16] fire_resist                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	FireResist null.Int `gorm:"column:fire_resist;type:int;" json:"fire_resist"`
	//[17] poison_resist                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	PoisonResist null.Int `gorm:"column:poison_resist;type:int;" json:"poison_resist"`
	//[18] disease_resist                                 int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	DiseaseResist null.Int `gorm:"column:disease_resist;type:int;" json:"disease_resist"`
	//[19] corruption_resist                              int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	CorruptionResist null.Int `gorm:"column:corruption_resist;type:int;" json:"corruption_resist"`
	//[20] physical_resist                                int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	PhysicalResist null.Int `gorm:"column:physical_resist;type:int;" json:"physical_resist"`
	//[21] min_dmg                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	MinDmg null.Int `gorm:"column:min_dmg;type:int;" json:"min_dmg"`
	//[22] max_dmg                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	MaxDmg null.Int `gorm:"column:max_dmg;type:int;" json:"max_dmg"`
	//[23] hp_regen_rate                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	HpRegenRate null.Int `gorm:"column:hp_regen_rate;type:int;" json:"hp_regen_rate"`
	//[24] attack_delay                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	AttackDelay null.Int `gorm:"column:attack_delay;type:int;" json:"attack_delay"`
	//[25] spell_scale                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	SpellScale null.Int `gorm:"column:spell_scale;type:int;default:100;" json:"spell_scale"`
	//[26] heal_scale                                     int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	HealScale null.Int `gorm:"column:heal_scale;type:int;default:100;" json:"heal_scale"`
	//[27] special_abilities                              text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	SpecialAbilities null.String `gorm:"column:special_abilities;type:text;size:65535;" json:"special_abilities"`
}

NpcScaleGlobalBase struct is a row record of the npc_scale_global_base table in the eqemu database

func (*NpcScaleGlobalBase) BeforeSave

func (n *NpcScaleGlobalBase) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcScaleGlobalBase) Prepare

func (n *NpcScaleGlobalBase) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcScaleGlobalBase) TableInfo

func (n *NpcScaleGlobalBase) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcScaleGlobalBase) TableName

func (n *NpcScaleGlobalBase) TableName() string

TableName sets the insert table name for this struct type

func (*NpcScaleGlobalBase) Validate

func (n *NpcScaleGlobalBase) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcSpells

type NpcSpells struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] name                                           text(255)            null: true   primary: false  isArray: false  auto: false  col: text            len: 255     default: [NULL]
	Name null.String `gorm:"column:name;type:text;size:255;" json:"name"`
	//[ 2] parent_list                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ParentList uint32 `gorm:"column:parent_list;type:uint;default:0;" json:"parent_list"`
	//[ 3] attack_proc                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-1]
	AttackProc int32 `gorm:"column:attack_proc;type:smallint;default:-1;" json:"attack_proc"`
	//[ 4] proc_chance                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [3]
	ProcChance int32 `gorm:"column:proc_chance;type:tinyint;default:3;" json:"proc_chance"`
	//[ 5] range_proc                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-1]
	RangeProc int32 `gorm:"column:range_proc;type:smallint;default:-1;" json:"range_proc"`
	//[ 6] rproc_chance                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	RprocChance int32 `gorm:"column:rproc_chance;type:smallint;default:0;" json:"rproc_chance"`
	//[ 7] defensive_proc                                 smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-1]
	DefensiveProc int32 `gorm:"column:defensive_proc;type:smallint;default:-1;" json:"defensive_proc"`
	//[ 8] dproc_chance                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	DprocChance int32 `gorm:"column:dproc_chance;type:smallint;default:0;" json:"dproc_chance"`
	//[ 9] fail_recast                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	FailRecast uint32 `gorm:"column:fail_recast;type:uint;default:0;" json:"fail_recast"`
	//[10] engaged_no_sp_recast_min                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EngagedNoSpRecastMin uint32 `gorm:"column:engaged_no_sp_recast_min;type:uint;default:0;" json:"engaged_no_sp_recast_min"`
	//[11] engaged_no_sp_recast_max                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	EngagedNoSpRecastMax uint32 `gorm:"column:engaged_no_sp_recast_max;type:uint;default:0;" json:"engaged_no_sp_recast_max"`
	//[12] engaged_b_self_chance                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EngagedBSelfChance uint32 `gorm:"column:engaged_b_self_chance;type:utinyint;default:0;" json:"engaged_b_self_chance"`
	//[13] engaged_b_other_chance                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EngagedBOtherChance uint32 `gorm:"column:engaged_b_other_chance;type:utinyint;default:0;" json:"engaged_b_other_chance"`
	//[14] engaged_d_chance                               utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	EngagedDChance uint32 `gorm:"column:engaged_d_chance;type:utinyint;default:0;" json:"engaged_d_chance"`
	//[15] pursue_no_sp_recast_min                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PursueNoSpRecastMin uint32 `gorm:"column:pursue_no_sp_recast_min;type:uint;default:0;" json:"pursue_no_sp_recast_min"`
	//[16] pursue_no_sp_recast_max                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	PursueNoSpRecastMax uint32 `gorm:"column:pursue_no_sp_recast_max;type:uint;default:0;" json:"pursue_no_sp_recast_max"`
	//[17] pursue_d_chance                                utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	PursueDChance uint32 `gorm:"column:pursue_d_chance;type:utinyint;default:0;" json:"pursue_d_chance"`
	//[18] idle_no_sp_recast_min                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	IdleNoSpRecastMin uint32 `gorm:"column:idle_no_sp_recast_min;type:uint;default:0;" json:"idle_no_sp_recast_min"`
	//[19] idle_no_sp_recast_max                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	IdleNoSpRecastMax uint32 `gorm:"column:idle_no_sp_recast_max;type:uint;default:0;" json:"idle_no_sp_recast_max"`
	//[20] idle_b_chance                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	IdleBChance uint32 `gorm:"column:idle_b_chance;type:utinyint;default:0;" json:"idle_b_chance"`
}

NpcSpells struct is a row record of the npc_spells table in the eqemu database

func (*NpcSpells) BeforeSave

func (n *NpcSpells) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcSpells) Prepare

func (n *NpcSpells) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcSpells) TableInfo

func (n *NpcSpells) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcSpells) TableName

func (n *NpcSpells) TableName() string

TableName sets the insert table name for this struct type

func (*NpcSpells) Validate

func (n *NpcSpells) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcSpellsEffects

type NpcSpellsEffects struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] name                                           text(255)            null: true   primary: false  isArray: false  auto: false  col: text            len: 255     default: [NULL]
	Name null.String `gorm:"column:name;type:text;size:255;" json:"name"`
	//[ 2] parent_list                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ParentList uint32 `gorm:"column:parent_list;type:uint;default:0;" json:"parent_list"`
}

NpcSpellsEffects struct is a row record of the npc_spells_effects table in the eqemu database

func (*NpcSpellsEffects) BeforeSave

func (n *NpcSpellsEffects) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcSpellsEffects) Prepare

func (n *NpcSpellsEffects) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcSpellsEffects) TableInfo

func (n *NpcSpellsEffects) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcSpellsEffects) TableName

func (n *NpcSpellsEffects) TableName() string

TableName sets the insert table name for this struct type

func (*NpcSpellsEffects) Validate

func (n *NpcSpellsEffects) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcSpellsEffectsEntries

type NpcSpellsEffectsEntries struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] npc_spells_effects_id                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcSpellsEffectsID int32 `gorm:"column:npc_spells_effects_id;type:int;default:0;" json:"npc_spells_effects_id"`
	//[ 2] spell_effect_id                                smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	SpellEffectID int32 `gorm:"column:spell_effect_id;type:smallint;default:0;" json:"spell_effect_id"`
	//[ 3] minlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Minlevel uint32 `gorm:"column:minlevel;type:utinyint;default:0;" json:"minlevel"`
	//[ 4] maxlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [255]
	Maxlevel uint32 `gorm:"column:maxlevel;type:utinyint;default:255;" json:"maxlevel"`
	//[ 5] se_base                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SeBase int32 `gorm:"column:se_base;type:int;default:0;" json:"se_base"`
	//[ 6] se_limit                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SeLimit int32 `gorm:"column:se_limit;type:int;default:0;" json:"se_limit"`
	//[ 7] se_max                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SeMax int32 `gorm:"column:se_max;type:int;default:0;" json:"se_max"`
}

NpcSpellsEffectsEntries struct is a row record of the npc_spells_effects_entries table in the eqemu database

func (*NpcSpellsEffectsEntries) BeforeSave

func (n *NpcSpellsEffectsEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcSpellsEffectsEntries) Prepare

func (n *NpcSpellsEffectsEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcSpellsEffectsEntries) TableInfo

func (n *NpcSpellsEffectsEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcSpellsEffectsEntries) TableName

func (n *NpcSpellsEffectsEntries) TableName() string

TableName sets the insert table name for this struct type

func (*NpcSpellsEffectsEntries) Validate

func (n *NpcSpellsEffectsEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcSpellsEntries

type NpcSpellsEntries struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] npc_spells_id                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcSpellsID int32 `gorm:"column:npc_spells_id;type:int;default:0;" json:"npc_spells_id"`
	//[ 2] spellid                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Spellid int32 `gorm:"column:spellid;type:smallint;default:0;" json:"spellid"`
	//[ 3] type                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Type uint32 `gorm:"column:type;type:uint;default:0;" json:"type"`
	//[ 4] minlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Minlevel uint32 `gorm:"column:minlevel;type:utinyint;default:0;" json:"minlevel"`
	//[ 5] maxlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [255]
	Maxlevel uint32 `gorm:"column:maxlevel;type:utinyint;default:255;" json:"maxlevel"`
	//[ 6] manacost                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-1]
	Manacost int32 `gorm:"column:manacost;type:smallint;default:-1;" json:"manacost"`
	//[ 7] recast_delay                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	RecastDelay int32 `gorm:"column:recast_delay;type:int;default:-1;" json:"recast_delay"`
	//[ 8] priority                                       smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Priority int32 `gorm:"column:priority;type:smallint;default:0;" json:"priority"`
	//[ 9] resist_adjust                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	ResistAdjust null.Int `gorm:"column:resist_adjust;type:int;" json:"resist_adjust"`
	//[10] min_hp                                         smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	MinHp null.Int `gorm:"column:min_hp;type:smallint;default:0;" json:"min_hp"`
	//[11] max_hp                                         smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	MaxHp null.Int `gorm:"column:max_hp;type:smallint;default:0;" json:"max_hp"`
}

NpcSpellsEntries struct is a row record of the npc_spells_entries table in the eqemu database

func (*NpcSpellsEntries) BeforeSave

func (n *NpcSpellsEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcSpellsEntries) Prepare

func (n *NpcSpellsEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcSpellsEntries) TableInfo

func (n *NpcSpellsEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcSpellsEntries) TableName

func (n *NpcSpellsEntries) TableName() string

TableName sets the insert table name for this struct type

func (*NpcSpellsEntries) Validate

func (n *NpcSpellsEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcTypes

type NpcTypes struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Name string `gorm:"column:name;type:text;size:65535;" json:"name"`
	//[ 2] lastname                                       varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Lastname null.String `gorm:"column:lastname;type:varchar;size:32;" json:"lastname"`
	//[ 3] level                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Level uint32 `gorm:"column:level;type:utinyint;default:0;" json:"level"`
	//[ 4] race                                           usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Race uint32 `gorm:"column:race;type:usmallint;default:0;" json:"race"`
	//[ 5] class                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Class uint32 `gorm:"column:class;type:utinyint;default:0;" json:"class"`
	//[ 6] bodytype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Bodytype int32 `gorm:"column:bodytype;type:int;default:1;" json:"bodytype"`
	//[ 7] hp                                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Hp int32 `gorm:"column:hp;type:int;default:0;" json:"hp"`
	//[ 8] mana                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Mana int32 `gorm:"column:mana;type:int;default:0;" json:"mana"`
	//[ 9] gender                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Gender uint32 `gorm:"column:gender;type:utinyint;default:0;" json:"gender"`
	//[10] texture                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Texture uint32 `gorm:"column:texture;type:utinyint;default:0;" json:"texture"`
	//[11] helmtexture                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Helmtexture uint32 `gorm:"column:helmtexture;type:utinyint;default:0;" json:"helmtexture"`
	//[12] herosforgemodel                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Herosforgemodel int32 `gorm:"column:herosforgemodel;type:int;default:0;" json:"herosforgemodel"`
	//[13] size                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Size float32 `gorm:"column:size;type:float;default:0;" json:"size"`
	//[14] hp_regen_rate                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	HpRegenRate uint32 `gorm:"column:hp_regen_rate;type:uint;default:0;" json:"hp_regen_rate"`
	//[15] mana_regen_rate                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ManaRegenRate uint32 `gorm:"column:mana_regen_rate;type:uint;default:0;" json:"mana_regen_rate"`
	//[16] loottable_id                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LoottableID uint32 `gorm:"column:loottable_id;type:uint;default:0;" json:"loottable_id"`
	//[17] merchant_id                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	MerchantID uint32 `gorm:"column:merchant_id;type:uint;default:0;" json:"merchant_id"`
	//[18] alt_currency_id                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AltCurrencyID uint32 `gorm:"column:alt_currency_id;type:uint;default:0;" json:"alt_currency_id"`
	//[19] npc_spells_id                                  uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	NpcSpellsID uint32 `gorm:"column:npc_spells_id;type:uint;default:0;" json:"npc_spells_id"`
	//[20] npc_spells_effects_id                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	NpcSpellsEffectsID uint32 `gorm:"column:npc_spells_effects_id;type:uint;default:0;" json:"npc_spells_effects_id"`
	//[21] npc_faction_id                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcFactionID int32 `gorm:"column:npc_faction_id;type:int;default:0;" json:"npc_faction_id"`
	//[22] adventure_template_id                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	AdventureTemplateID uint32 `gorm:"column:adventure_template_id;type:uint;default:0;" json:"adventure_template_id"`
	//[23] trap_template                                  uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TrapTemplate null.Int `gorm:"column:trap_template;type:uint;default:0;" json:"trap_template"`
	//[24] mindmg                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Mindmg uint32 `gorm:"column:mindmg;type:uint;default:0;" json:"mindmg"`
	//[25] maxdmg                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Maxdmg uint32 `gorm:"column:maxdmg;type:uint;default:0;" json:"maxdmg"`
	//[26] attack_count                                   smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [-1]
	AttackCount int32 `gorm:"column:attack_count;type:smallint;default:-1;" json:"attack_count"`
	//[27] npcspecialattks                                varchar(36)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 36      default: [”]
	Npcspecialattks string `gorm:"column:npcspecialattks;type:varchar;size:36;default:'';" json:"npcspecialattks"`
	//[28] special_abilities                              text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	SpecialAbilities null.String `gorm:"column:special_abilities;type:text;size:65535;" json:"special_abilities"`
	//[29] aggroradius                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Aggroradius uint32 `gorm:"column:aggroradius;type:uint;default:0;" json:"aggroradius"`
	//[30] assistradius                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Assistradius uint32 `gorm:"column:assistradius;type:uint;default:0;" json:"assistradius"`
	//[31] face                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	Face uint32 `gorm:"column:face;type:uint;default:1;" json:"face"`
	//[32] luclin_hairstyle                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	LuclinHairstyle uint32 `gorm:"column:luclin_hairstyle;type:uint;default:1;" json:"luclin_hairstyle"`
	//[33] luclin_haircolor                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	LuclinHaircolor uint32 `gorm:"column:luclin_haircolor;type:uint;default:1;" json:"luclin_haircolor"`
	//[34] luclin_eyecolor                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	LuclinEyecolor uint32 `gorm:"column:luclin_eyecolor;type:uint;default:1;" json:"luclin_eyecolor"`
	//[35] luclin_eyecolor2                               uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	LuclinEyecolor2 uint32 `gorm:"column:luclin_eyecolor2;type:uint;default:1;" json:"luclin_eyecolor_2"`
	//[36] luclin_beardcolor                              uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [1]
	LuclinBeardcolor uint32 `gorm:"column:luclin_beardcolor;type:uint;default:1;" json:"luclin_beardcolor"`
	//[37] luclin_beard                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	LuclinBeard uint32 `gorm:"column:luclin_beard;type:uint;default:0;" json:"luclin_beard"`
	//[38] drakkin_heritage                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DrakkinHeritage int32 `gorm:"column:drakkin_heritage;type:int;default:0;" json:"drakkin_heritage"`
	//[39] drakkin_tattoo                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DrakkinTattoo int32 `gorm:"column:drakkin_tattoo;type:int;default:0;" json:"drakkin_tattoo"`
	//[40] drakkin_details                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DrakkinDetails int32 `gorm:"column:drakkin_details;type:int;default:0;" json:"drakkin_details"`
	//[41] armortint_id                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ArmortintID uint32 `gorm:"column:armortint_id;type:uint;default:0;" json:"armortint_id"`
	//[42] armortint_red                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	ArmortintRed uint32 `gorm:"column:armortint_red;type:utinyint;default:0;" json:"armortint_red"`
	//[43] armortint_green                                utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	ArmortintGreen uint32 `gorm:"column:armortint_green;type:utinyint;default:0;" json:"armortint_green"`
	//[44] armortint_blue                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	ArmortintBlue uint32 `gorm:"column:armortint_blue;type:utinyint;default:0;" json:"armortint_blue"`
	//[45] d_melee_texture1                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DMeleeTexture1 int32 `gorm:"column:d_melee_texture1;type:int;default:0;" json:"d_melee_texture_1"`
	//[46] d_melee_texture2                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DMeleeTexture2 int32 `gorm:"column:d_melee_texture2;type:int;default:0;" json:"d_melee_texture_2"`
	//[47] ammo_idfile                                    varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: ['IT10']
	AmmoIdfile string `gorm:"column:ammo_idfile;type:varchar;size:30;default:'IT10';" json:"ammo_idfile"`
	//[48] prim_melee_type                                utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [28]
	PrimMeleeType uint32 `gorm:"column:prim_melee_type;type:utinyint;default:28;" json:"prim_melee_type"`
	//[49] sec_melee_type                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [28]
	SecMeleeType uint32 `gorm:"column:sec_melee_type;type:utinyint;default:28;" json:"sec_melee_type"`
	//[50] ranged_type                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [7]
	RangedType uint32 `gorm:"column:ranged_type;type:utinyint;default:7;" json:"ranged_type"`
	//[51] runspeed                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Runspeed float32 `gorm:"column:runspeed;type:float;default:0;" json:"runspeed"`
	//[52] MR                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	MR int32 `gorm:"column:MR;type:smallint;default:0;" json:"mr"`
	//[53] CR                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	CR int32 `gorm:"column:CR;type:smallint;default:0;" json:"cr"`
	//[54] DR                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	DR int32 `gorm:"column:DR;type:smallint;default:0;" json:"dr"`
	//[55] FR                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	FR int32 `gorm:"column:FR;type:smallint;default:0;" json:"fr"`
	//[56] PR                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	PR int32 `gorm:"column:PR;type:smallint;default:0;" json:"pr"`
	//[57] Corrup                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Corrup int32 `gorm:"column:Corrup;type:smallint;default:0;" json:"corrup"`
	//[58] PhR                                            usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	PhR uint32 `gorm:"column:PhR;type:usmallint;default:0;" json:"ph_r"`
	//[59] see_invis                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	SeeInvis int32 `gorm:"column:see_invis;type:smallint;default:0;" json:"see_invis"`
	//[60] see_invis_undead                               smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	SeeInvisUndead int32 `gorm:"column:see_invis_undead;type:smallint;default:0;" json:"see_invis_undead"`
	//[61] qglobal                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Qglobal uint32 `gorm:"column:qglobal;type:uint;default:0;" json:"qglobal"`
	//[62] AC                                             smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	AC int32 `gorm:"column:AC;type:smallint;default:0;" json:"ac"`
	//[63] npc_aggro                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	NpcAggro int32 `gorm:"column:npc_aggro;type:tinyint;default:0;" json:"npc_aggro"`
	//[64] spawn_limit                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	SpawnLimit int32 `gorm:"column:spawn_limit;type:tinyint;default:0;" json:"spawn_limit"`
	//[65] attack_speed                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	AttackSpeed float32 `gorm:"column:attack_speed;type:float;default:0;" json:"attack_speed"`
	//[66] attack_delay                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [30]
	AttackDelay uint32 `gorm:"column:attack_delay;type:utinyint;default:30;" json:"attack_delay"`
	//[67] findable                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Findable int32 `gorm:"column:findable;type:tinyint;default:0;" json:"findable"`
	//[68] STR                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	STR uint32 `gorm:"column:STR;type:umediumint;default:75;" json:"str"`
	//[69] STA                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	STA uint32 `gorm:"column:STA;type:umediumint;default:75;" json:"sta"`
	//[70] DEX                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	DEX uint32 `gorm:"column:DEX;type:umediumint;default:75;" json:"dex"`
	//[71] AGI                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	AGI uint32 `gorm:"column:AGI;type:umediumint;default:75;" json:"agi"`
	//[72] _INT                                           umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [80]
	INT uint32 `gorm:"column:_INT;type:umediumint;default:80;" json:"_int"`
	//[73] WIS                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	WIS uint32 `gorm:"column:WIS;type:umediumint;default:75;" json:"wis"`
	//[74] CHA                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [75]
	CHA uint32 `gorm:"column:CHA;type:umediumint;default:75;" json:"cha"`
	//[75] see_hide                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	SeeHide int32 `gorm:"column:see_hide;type:tinyint;default:0;" json:"see_hide"`
	//[76] see_improved_hide                              tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	SeeImprovedHide int32 `gorm:"column:see_improved_hide;type:tinyint;default:0;" json:"see_improved_hide"`
	//[77] trackable                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Trackable int32 `gorm:"column:trackable;type:tinyint;default:1;" json:"trackable"`
	//[78] isbot                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Isbot int32 `gorm:"column:isbot;type:tinyint;default:0;" json:"isbot"`
	//[79] exclude                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Exclude int32 `gorm:"column:exclude;type:tinyint;default:1;" json:"exclude"`
	//[80] ATK                                            mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	ATK int32 `gorm:"column:ATK;type:mediumint;default:0;" json:"atk"`
	//[81] Accuracy                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Accuracy int32 `gorm:"column:Accuracy;type:mediumint;default:0;" json:"accuracy"`
	//[82] Avoidance                                      umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Avoidance uint32 `gorm:"column:Avoidance;type:umediumint;default:0;" json:"avoidance"`
	//[83] slow_mitigation                                smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	SlowMitigation int32 `gorm:"column:slow_mitigation;type:smallint;default:0;" json:"slow_mitigation"`
	//[84] version                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Version uint32 `gorm:"column:version;type:usmallint;default:0;" json:"version"`
	//[85] maxlevel                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Maxlevel int32 `gorm:"column:maxlevel;type:tinyint;default:0;" json:"maxlevel"`
	//[86] scalerate                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Scalerate int32 `gorm:"column:scalerate;type:int;default:100;" json:"scalerate"`
	//[87] private_corpse                                 utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	PrivateCorpse uint32 `gorm:"column:private_corpse;type:utinyint;default:0;" json:"private_corpse"`
	//[88] unique_spawn_by_name                           utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	UniqueSpawnByName uint32 `gorm:"column:unique_spawn_by_name;type:utinyint;default:0;" json:"unique_spawn_by_name"`
	//[89] underwater                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Underwater uint32 `gorm:"column:underwater;type:utinyint;default:0;" json:"underwater"`
	//[90] isquest                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Isquest int32 `gorm:"column:isquest;type:tinyint;default:0;" json:"isquest"`
	//[91] emoteid                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Emoteid uint32 `gorm:"column:emoteid;type:uint;default:0;" json:"emoteid"`
	//[92] spellscale                                     float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [100]
	Spellscale float32 `gorm:"column:spellscale;type:float;default:100;" json:"spellscale"`
	//[93] healscale                                      float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [100]
	Healscale float32 `gorm:"column:healscale;type:float;default:100;" json:"healscale"`
	//[94] no_target_hotkey                               utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NoTargetHotkey uint32 `gorm:"column:no_target_hotkey;type:utinyint;default:0;" json:"no_target_hotkey"`
	//[95] raid_target                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	RaidTarget uint32 `gorm:"column:raid_target;type:utinyint;default:0;" json:"raid_target"`
	//[96] armtexture                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Armtexture int32 `gorm:"column:armtexture;type:tinyint;default:0;" json:"armtexture"`
	//[97] bracertexture                                  tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Bracertexture int32 `gorm:"column:bracertexture;type:tinyint;default:0;" json:"bracertexture"`
	//[98] handtexture                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Handtexture int32 `gorm:"column:handtexture;type:tinyint;default:0;" json:"handtexture"`
	//[99] legtexture                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Legtexture int32 `gorm:"column:legtexture;type:tinyint;default:0;" json:"legtexture"`
	//[100] feettexture                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Feettexture int32 `gorm:"column:feettexture;type:tinyint;default:0;" json:"feettexture"`
	//[101] light                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Light int32 `gorm:"column:light;type:tinyint;default:0;" json:"light"`
	//[102] walkspeed                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Walkspeed int32 `gorm:"column:walkspeed;type:tinyint;default:0;" json:"walkspeed"`
	//[103] peqid                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Peqid int32 `gorm:"column:peqid;type:int;default:0;" json:"peqid"`
	//[104] unique_                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Unique int32 `gorm:"column:unique_;type:tinyint;default:0;" json:"unique_"`
	//[105] fixed                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Fixed int32 `gorm:"column:fixed;type:tinyint;default:0;" json:"fixed"`
	//[106] ignore_despawn                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	IgnoreDespawn int32 `gorm:"column:ignore_despawn;type:tinyint;default:0;" json:"ignore_despawn"`
	//[107] show_name                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	ShowName int32 `gorm:"column:show_name;type:tinyint;default:1;" json:"show_name"`
	//[108] untargetable                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Untargetable int32 `gorm:"column:untargetable;type:tinyint;default:0;" json:"untargetable"`
	//[109] charm_ac                                       smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	CharmAc null.Int `gorm:"column:charm_ac;type:smallint;default:0;" json:"charm_ac"`
	//[110] charm_min_dmg                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharmMinDmg null.Int `gorm:"column:charm_min_dmg;type:int;default:0;" json:"charm_min_dmg"`
	//[111] charm_max_dmg                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharmMaxDmg null.Int `gorm:"column:charm_max_dmg;type:int;default:0;" json:"charm_max_dmg"`
	//[112] charm_attack_delay                             tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	CharmAttackDelay null.Int `gorm:"column:charm_attack_delay;type:tinyint;default:0;" json:"charm_attack_delay"`
	//[113] charm_accuracy_rating                          mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharmAccuracyRating null.Int `gorm:"column:charm_accuracy_rating;type:mediumint;default:0;" json:"charm_accuracy_rating"`
	//[114] charm_avoidance_rating                         mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharmAvoidanceRating null.Int `gorm:"column:charm_avoidance_rating;type:mediumint;default:0;" json:"charm_avoidance_rating"`
	//[115] charm_atk                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharmAtk null.Int `gorm:"column:charm_atk;type:mediumint;default:0;" json:"charm_atk"`
	//[116] skip_global_loot                               tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	SkipGlobalLoot null.Int `gorm:"column:skip_global_loot;type:tinyint;default:0;" json:"skip_global_loot"`
	//[117] rare_spawn                                     tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	RareSpawn null.Int `gorm:"column:rare_spawn;type:tinyint;default:0;" json:"rare_spawn"`
	//[118] stuck_behavior                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	StuckBehavior int32 `gorm:"column:stuck_behavior;type:tinyint;default:0;" json:"stuck_behavior"`
	//[119] model                                          smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Model int32 `gorm:"column:model;type:smallint;default:0;" json:"model"`
	//[120] flymode                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [-1]
	Flymode int32 `gorm:"column:flymode;type:tinyint;default:-1;" json:"flymode"`
	//[121] always_aggro                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	AlwaysAggro int32 `gorm:"column:always_aggro;type:tinyint;default:0;" json:"always_aggro"`
}

NpcTypes struct is a row record of the npc_types table in the eqemu database

func (*NpcTypes) BeforeSave

func (n *NpcTypes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcTypes) ClassIcon

func (n *NpcTypes) ClassIcon() string

ClassIcon returns a class's icon

func (*NpcTypes) ClassName

func (n *NpcTypes) ClassName() string

ClassName returns a class's name

func (*NpcTypes) CleanName

func (n *NpcTypes) CleanName() string

CleanName returns a clean version of a NPC's name

func (*NpcTypes) Description

func (n *NpcTypes) Description() string

Description returns a description

func (*NpcTypes) Prepare

func (n *NpcTypes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcTypes) RaceIcon

func (n *NpcTypes) RaceIcon() string

RaceIcon returns a race's icon

func (*NpcTypes) RaceName

func (n *NpcTypes) RaceName() string

RaceName returns a race name

func (*NpcTypes) TableInfo

func (n *NpcTypes) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcTypes) TableName

func (n *NpcTypes) TableName() string

TableName sets the insert table name for this struct type

func (*NpcTypes) Validate

func (n *NpcTypes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type NpcTypesTint

type NpcTypesTint struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] tint_set_name                                  text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	TintSetName string `gorm:"column:tint_set_name;type:text;size:65535;" json:"tint_set_name"`
	//[ 2] red1h                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red1h uint32 `gorm:"column:red1h;type:utinyint;default:0;" json:"red_1_h"`
	//[ 3] grn1h                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn1h uint32 `gorm:"column:grn1h;type:utinyint;default:0;" json:"grn_1_h"`
	//[ 4] blu1h                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu1h uint32 `gorm:"column:blu1h;type:utinyint;default:0;" json:"blu_1_h"`
	//[ 5] red2c                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red2c uint32 `gorm:"column:red2c;type:utinyint;default:0;" json:"red_2_c"`
	//[ 6] grn2c                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn2c uint32 `gorm:"column:grn2c;type:utinyint;default:0;" json:"grn_2_c"`
	//[ 7] blu2c                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu2c uint32 `gorm:"column:blu2c;type:utinyint;default:0;" json:"blu_2_c"`
	//[ 8] red3a                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red3a uint32 `gorm:"column:red3a;type:utinyint;default:0;" json:"red_3_a"`
	//[ 9] grn3a                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn3a uint32 `gorm:"column:grn3a;type:utinyint;default:0;" json:"grn_3_a"`
	//[10] blu3a                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu3a uint32 `gorm:"column:blu3a;type:utinyint;default:0;" json:"blu_3_a"`
	//[11] red4b                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red4b uint32 `gorm:"column:red4b;type:utinyint;default:0;" json:"red_4_b"`
	//[12] grn4b                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn4b uint32 `gorm:"column:grn4b;type:utinyint;default:0;" json:"grn_4_b"`
	//[13] blu4b                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu4b uint32 `gorm:"column:blu4b;type:utinyint;default:0;" json:"blu_4_b"`
	//[14] red5g                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red5g uint32 `gorm:"column:red5g;type:utinyint;default:0;" json:"red_5_g"`
	//[15] grn5g                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn5g uint32 `gorm:"column:grn5g;type:utinyint;default:0;" json:"grn_5_g"`
	//[16] blu5g                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu5g uint32 `gorm:"column:blu5g;type:utinyint;default:0;" json:"blu_5_g"`
	//[17] red6l                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red6l uint32 `gorm:"column:red6l;type:utinyint;default:0;" json:"red_6_l"`
	//[18] grn6l                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn6l uint32 `gorm:"column:grn6l;type:utinyint;default:0;" json:"grn_6_l"`
	//[19] blu6l                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu6l uint32 `gorm:"column:blu6l;type:utinyint;default:0;" json:"blu_6_l"`
	//[20] red7f                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red7f uint32 `gorm:"column:red7f;type:utinyint;default:0;" json:"red_7_f"`
	//[21] grn7f                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn7f uint32 `gorm:"column:grn7f;type:utinyint;default:0;" json:"grn_7_f"`
	//[22] blu7f                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu7f uint32 `gorm:"column:blu7f;type:utinyint;default:0;" json:"blu_7_f"`
	//[23] red8x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red8x uint32 `gorm:"column:red8x;type:utinyint;default:0;" json:"red_8_x"`
	//[24] grn8x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn8x uint32 `gorm:"column:grn8x;type:utinyint;default:0;" json:"grn_8_x"`
	//[25] blu8x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu8x uint32 `gorm:"column:blu8x;type:utinyint;default:0;" json:"blu_8_x"`
	//[26] red9x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Red9x uint32 `gorm:"column:red9x;type:utinyint;default:0;" json:"red_9_x"`
	//[27] grn9x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Grn9x uint32 `gorm:"column:grn9x;type:utinyint;default:0;" json:"grn_9_x"`
	//[28] blu9x                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Blu9x uint32 `gorm:"column:blu9x;type:utinyint;default:0;" json:"blu_9_x"`
}

NpcTypesTint struct is a row record of the npc_types_tint table in the eqemu database

func (*NpcTypesTint) BeforeSave

func (n *NpcTypesTint) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*NpcTypesTint) Prepare

func (n *NpcTypesTint) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*NpcTypesTint) TableInfo

func (n *NpcTypesTint) TableInfo() *TableInfo

TableInfo return table meta data

func (*NpcTypesTint) TableName

func (n *NpcTypesTint) TableName() string

TableName sets the insert table name for this struct type

func (*NpcTypesTint) Validate

func (n *NpcTypesTint) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Object

type Object struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zoneid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Zoneid uint32 `gorm:"column:zoneid;type:uint;default:0;" json:"zoneid"`
	//[ 2] version                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Version int32 `gorm:"column:version;type:smallint;default:0;" json:"version"`
	//[ 3] xpos                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Xpos float32 `gorm:"column:xpos;type:float;default:0;" json:"xpos"`
	//[ 4] ypos                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Ypos float32 `gorm:"column:ypos;type:float;default:0;" json:"ypos"`
	//[ 5] zpos                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Zpos float32 `gorm:"column:zpos;type:float;default:0;" json:"zpos"`
	//[ 6] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 7] itemid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemid int32 `gorm:"column:itemid;type:int;default:0;" json:"itemid"`
	//[ 8] charges                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Charges uint32 `gorm:"column:charges;type:usmallint;default:0;" json:"charges"`
	//[ 9] objectname                                     varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Objectname null.String `gorm:"column:objectname;type:varchar;size:32;" json:"objectname"`
	//[10] type                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Type int32 `gorm:"column:type;type:int;default:0;" json:"type"`
	//[11] icon                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Icon int32 `gorm:"column:icon;type:int;default:0;" json:"icon"`
	//[12] unknown08                                      mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Unknown08 int32 `gorm:"column:unknown08;type:mediumint;default:0;" json:"unknown_08"`
	//[13] unknown10                                      mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Unknown10 int32 `gorm:"column:unknown10;type:mediumint;default:0;" json:"unknown_10"`
	//[14] unknown20                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown20 int32 `gorm:"column:unknown20;type:int;default:0;" json:"unknown_20"`
	//[15] unknown24                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown24 int32 `gorm:"column:unknown24;type:int;default:0;" json:"unknown_24"`
	//[16] unknown60                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown60 int32 `gorm:"column:unknown60;type:int;default:0;" json:"unknown_60"`
	//[17] unknown64                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown64 int32 `gorm:"column:unknown64;type:int;default:0;" json:"unknown_64"`
	//[18] unknown68                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown68 int32 `gorm:"column:unknown68;type:int;default:0;" json:"unknown_68"`
	//[19] unknown72                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown72 int32 `gorm:"column:unknown72;type:int;default:0;" json:"unknown_72"`
	//[20] unknown76                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown76 int32 `gorm:"column:unknown76;type:int;default:0;" json:"unknown_76"`
	//[21] unknown84                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unknown84 int32 `gorm:"column:unknown84;type:int;default:0;" json:"unknown_84"`
	//[22] size                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [100]
	Size float32 `gorm:"column:size;type:float;default:100;" json:"size"`
	//[23] tilt_x                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TiltX float32 `gorm:"column:tilt_x;type:float;default:0;" json:"tilt_x"`
	//[24] tilt_y                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TiltY float32 `gorm:"column:tilt_y;type:float;default:0;" json:"tilt_y"`
	//[25] display_name                                   varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	DisplayName null.String `gorm:"column:display_name;type:varchar;size:64;" json:"display_name"`
	//[26] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[27] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[28] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[29] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Object struct is a row record of the object table in the eqemu database

func (*Object) BeforeSave

func (o *Object) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Object) Prepare

func (o *Object) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Object) TableInfo

func (o *Object) TableInfo() *TableInfo

TableInfo return table meta data

func (*Object) TableName

func (o *Object) TableName() string

TableName sets the insert table name for this struct type

func (*Object) Validate

func (o *Object) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ObjectContents

type ObjectContents struct {
	//[ 0] zoneid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Zoneid uint32 `gorm:"column:zoneid;type:uint;default:0;" json:"zoneid"`
	//[ 1] parentid                                       uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Parentid uint32 `gorm:"primary_key;column:parentid;type:uint;default:0;" json:"parentid"`
	//[ 2] bagidx                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Bagidx uint32 `gorm:"primary_key;column:bagidx;type:uint;default:0;" json:"bagidx"`
	//[ 3] itemid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid uint32 `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 4] charges                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Charges int32 `gorm:"column:charges;type:smallint;default:0;" json:"charges"`
	//[ 5] droptime                                       datetime             null: false  primary: false  isArray: false  auto: false  col: datetime        len: -1      default: ['0000-00-00 00:00:00']
	Droptime time.Time `gorm:"column:droptime;type:datetime;default:'0000-00-00 00:00:00';" json:"droptime"`
	//[ 6] augslot1                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot1 null.Int `gorm:"column:augslot1;type:umediumint;default:0;" json:"augslot_1"`
	//[ 7] augslot2                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot2 null.Int `gorm:"column:augslot2;type:umediumint;default:0;" json:"augslot_2"`
	//[ 8] augslot3                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot3 null.Int `gorm:"column:augslot3;type:umediumint;default:0;" json:"augslot_3"`
	//[ 9] augslot4                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot4 null.Int `gorm:"column:augslot4;type:umediumint;default:0;" json:"augslot_4"`
	//[10] augslot5                                       umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot5 null.Int `gorm:"column:augslot5;type:umediumint;default:0;" json:"augslot_5"`
	//[11] augslot6                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Augslot6 int32 `gorm:"column:augslot6;type:mediumint;default:0;" json:"augslot_6"`
}

ObjectContents struct is a row record of the object_contents table in the eqemu database

func (*ObjectContents) BeforeSave

func (o *ObjectContents) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ObjectContents) Prepare

func (o *ObjectContents) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ObjectContents) TableInfo

func (o *ObjectContents) TableInfo() *TableInfo

TableInfo return table meta data

func (*ObjectContents) TableName

func (o *ObjectContents) TableName() string

TableName sets the insert table name for this struct type

func (*ObjectContents) Validate

func (o *ObjectContents) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type PerlEventExportSettings

type PerlEventExportSettings struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	EventID int32 `gorm:"primary_key;column:event_id;type:int;" json:"event_id"`
	//[ 1] event_description                              varchar(150)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 150     default: [NULL]
	EventDescription null.String `gorm:"column:event_description;type:varchar;size:150;" json:"event_description"`
	//[ 2] export_qglobals                                smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ExportQglobals null.Int `gorm:"column:export_qglobals;type:smallint;default:0;" json:"export_qglobals"`
	//[ 3] export_mob                                     smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ExportMob null.Int `gorm:"column:export_mob;type:smallint;default:0;" json:"export_mob"`
	//[ 4] export_zone                                    smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ExportZone null.Int `gorm:"column:export_zone;type:smallint;default:0;" json:"export_zone"`
	//[ 5] export_item                                    smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ExportItem null.Int `gorm:"column:export_item;type:smallint;default:0;" json:"export_item"`
	//[ 6] export_event                                   smallint             null: true   primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	ExportEvent null.Int `gorm:"column:export_event;type:smallint;default:0;" json:"export_event"`
}

PerlEventExportSettings struct is a row record of the perl_event_export_settings table in the eqemu database

func (*PerlEventExportSettings) BeforeSave

func (p *PerlEventExportSettings) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*PerlEventExportSettings) Prepare

func (p *PerlEventExportSettings) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*PerlEventExportSettings) TableInfo

func (p *PerlEventExportSettings) TableInfo() *TableInfo

TableInfo return table meta data

func (*PerlEventExportSettings) TableName

func (p *PerlEventExportSettings) TableName() string

TableName sets the insert table name for this struct type

func (*PerlEventExportSettings) Validate

func (p *PerlEventExportSettings) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Petitions

type Petitions struct {
	//[ 0] dib                                            uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	Dib uint32 `gorm:"primary_key;AUTO_INCREMENT;column:dib;type:uint;" json:"dib"`
	//[ 1] petid                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Petid uint32 `gorm:"column:petid;type:uint;default:0;" json:"petid"`
	//[ 2] charname                                       varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Charname string `gorm:"column:charname;type:varchar;size:32;default:'';" json:"charname"`
	//[ 3] accountname                                    varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Accountname string `gorm:"column:accountname;type:varchar;size:32;default:'';" json:"accountname"`
	//[ 4] lastgm                                         varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Lastgm string `gorm:"column:lastgm;type:varchar;size:32;default:'';" json:"lastgm"`
	//[ 5] petitiontext                                   text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Petitiontext string `gorm:"column:petitiontext;type:text;size:65535;" json:"petitiontext"`
	//[ 6] gmtext                                         text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Gmtext null.String `gorm:"column:gmtext;type:text;size:65535;" json:"gmtext"`
	//[ 7] zone                                           varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Zone string `gorm:"column:zone;type:varchar;size:32;default:'';" json:"zone"`
	//[ 8] urgency                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Urgency int32 `gorm:"column:urgency;type:int;default:0;" json:"urgency"`
	//[ 9] charclass                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Charclass int32 `gorm:"column:charclass;type:int;default:0;" json:"charclass"`
	//[10] charrace                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Charrace int32 `gorm:"column:charrace;type:int;default:0;" json:"charrace"`
	//[11] charlevel                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Charlevel int32 `gorm:"column:charlevel;type:int;default:0;" json:"charlevel"`
	//[12] checkouts                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Checkouts int32 `gorm:"column:checkouts;type:int;default:0;" json:"checkouts"`
	//[13] unavailables                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Unavailables int32 `gorm:"column:unavailables;type:int;default:0;" json:"unavailables"`
	//[14] ischeckedout                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Ischeckedout int32 `gorm:"column:ischeckedout;type:tinyint;default:0;" json:"ischeckedout"`
	//[15] senttime                                       bigint               null: false  primary: false  isArray: false  auto: false  col: bigint          len: -1      default: [0]
	Senttime int64 `gorm:"column:senttime;type:bigint;default:0;" json:"senttime"`
}

Petitions struct is a row record of the petitions table in the eqemu database

func (*Petitions) BeforeSave

func (p *Petitions) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Petitions) Prepare

func (p *Petitions) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Petitions) TableInfo

func (p *Petitions) TableInfo() *TableInfo

TableInfo return table meta data

func (*Petitions) TableName

func (p *Petitions) TableName() string

TableName sets the insert table name for this struct type

func (*Petitions) Validate

func (p *Petitions) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Pets

type Pets struct {
	//[ 0] type                                           varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Type string `gorm:"primary_key;column:type;type:varchar;size:64;default:'';" json:"type"`
	//[ 1] petpower                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Petpower int32 `gorm:"primary_key;column:petpower;type:int;default:0;" json:"petpower"`
	//[ 2] npcID                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcID int32 `gorm:"column:npcID;type:int;default:0;" json:"npc_id"`
	//[ 3] temp                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Temp int32 `gorm:"column:temp;type:tinyint;default:0;" json:"temp"`
	//[ 4] petcontrol                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Petcontrol int32 `gorm:"column:petcontrol;type:tinyint;default:0;" json:"petcontrol"`
	//[ 5] petnaming                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Petnaming int32 `gorm:"column:petnaming;type:tinyint;default:0;" json:"petnaming"`
	//[ 6] monsterflag                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Monsterflag int32 `gorm:"column:monsterflag;type:tinyint;default:0;" json:"monsterflag"`
	//[ 7] equipmentset                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Equipmentset int32 `gorm:"column:equipmentset;type:int;default:-1;" json:"equipmentset"`
}

Pets struct is a row record of the pets table in the eqemu database

func (*Pets) BeforeSave

func (p *Pets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Pets) Prepare

func (p *Pets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Pets) TableInfo

func (p *Pets) TableInfo() *TableInfo

TableInfo return table meta data

func (*Pets) TableName

func (p *Pets) TableName() string

TableName sets the insert table name for this struct type

func (*Pets) Validate

func (p *Pets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type PetsEquipmentset

type PetsEquipmentset struct {
	//[ 0] set_id                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	SetID int32 `gorm:"primary_key;column:set_id;type:int;" json:"set_id"`
	//[ 1] setname                                        varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	Setname string `gorm:"column:setname;type:varchar;size:30;default:'';" json:"setname"`
	//[ 2] nested_set                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NestedSet int32 `gorm:"column:nested_set;type:int;default:-1;" json:"nested_set"`
}

PetsEquipmentset struct is a row record of the pets_equipmentset table in the eqemu database

func (*PetsEquipmentset) BeforeSave

func (p *PetsEquipmentset) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*PetsEquipmentset) Prepare

func (p *PetsEquipmentset) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*PetsEquipmentset) TableInfo

func (p *PetsEquipmentset) TableInfo() *TableInfo

TableInfo return table meta data

func (*PetsEquipmentset) TableName

func (p *PetsEquipmentset) TableName() string

TableName sets the insert table name for this struct type

func (*PetsEquipmentset) Validate

func (p *PetsEquipmentset) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type PetsEquipmentsetEntries

type PetsEquipmentsetEntries struct {
	//[ 0] set_id                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	SetID int32 `gorm:"primary_key;column:set_id;type:int;" json:"set_id"`
	//[ 1] slot                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Slot int32 `gorm:"primary_key;column:slot;type:int;" json:"slot"`
	//[ 2] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	ItemID int32 `gorm:"column:item_id;type:int;" json:"item_id"`
}

PetsEquipmentsetEntries struct is a row record of the pets_equipmentset_entries table in the eqemu database

func (*PetsEquipmentsetEntries) BeforeSave

func (p *PetsEquipmentsetEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*PetsEquipmentsetEntries) Prepare

func (p *PetsEquipmentsetEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*PetsEquipmentsetEntries) TableInfo

func (p *PetsEquipmentsetEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*PetsEquipmentsetEntries) TableName

func (p *PetsEquipmentsetEntries) TableName() string

TableName sets the insert table name for this struct type

func (*PetsEquipmentsetEntries) Validate

func (p *PetsEquipmentsetEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type PlayerTitlesets

type PlayerTitlesets struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] char_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	CharID uint32 `gorm:"column:char_id;type:uint;" json:"char_id"`
	//[ 2] title_set                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	TitleSet uint32 `gorm:"column:title_set;type:uint;" json:"title_set"`
}

PlayerTitlesets struct is a row record of the player_titlesets table in the eqemu database

func (*PlayerTitlesets) BeforeSave

func (p *PlayerTitlesets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*PlayerTitlesets) Prepare

func (p *PlayerTitlesets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*PlayerTitlesets) TableInfo

func (p *PlayerTitlesets) TableInfo() *TableInfo

TableInfo return table meta data

func (*PlayerTitlesets) TableName

func (p *PlayerTitlesets) TableName() string

TableName sets the insert table name for this struct type

func (*PlayerTitlesets) Validate

func (p *PlayerTitlesets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ProfanityList

type ProfanityList struct {
	//[ 0] word                                           varchar(16)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 16      default: []
	Word string `gorm:"primary_key;column:word;type:varchar;size:16;" json:"word"`
}

ProfanityList struct is a row record of the profanity_list table in the eqemu database

func (*ProfanityList) BeforeSave

func (p *ProfanityList) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ProfanityList) Prepare

func (p *ProfanityList) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ProfanityList) TableInfo

func (p *ProfanityList) TableInfo() *TableInfo

TableInfo return table meta data

func (*ProfanityList) TableName

func (p *ProfanityList) TableName() string

TableName sets the insert table name for this struct type

func (*ProfanityList) Validate

func (p *ProfanityList) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Proximities

type Proximities struct {
	//[ 0] zoneid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Zoneid uint32 `gorm:"primary_key;column:zoneid;type:uint;default:0;" json:"zoneid"`
	//[ 1] exploreid                                      uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Exploreid uint32 `gorm:"primary_key;column:exploreid;type:uint;default:0;" json:"exploreid"`
	//[ 2] minx                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Minx float32 `gorm:"column:minx;type:float;default:0.000000;" json:"minx"`
	//[ 3] maxx                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Maxx float32 `gorm:"column:maxx;type:float;default:0.000000;" json:"maxx"`
	//[ 4] miny                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Miny float32 `gorm:"column:miny;type:float;default:0.000000;" json:"miny"`
	//[ 5] maxy                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Maxy float32 `gorm:"column:maxy;type:float;default:0.000000;" json:"maxy"`
	//[ 6] minz                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Minz float32 `gorm:"column:minz;type:float;default:0.000000;" json:"minz"`
	//[ 7] maxz                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Maxz float32 `gorm:"column:maxz;type:float;default:0.000000;" json:"maxz"`
}

Proximities struct is a row record of the proximities table in the eqemu database

func (*Proximities) BeforeSave

func (p *Proximities) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Proximities) Prepare

func (p *Proximities) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Proximities) TableInfo

func (p *Proximities) TableInfo() *TableInfo

TableInfo return table meta data

func (*Proximities) TableName

func (p *Proximities) TableName() string

TableName sets the insert table name for this struct type

func (*Proximities) Validate

func (p *Proximities) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsMerchantTransactionRecord

type QsMerchantTransactionRecord struct {
	//[ 0] transaction_id                                 int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	TransactionID int32 `gorm:"primary_key;AUTO_INCREMENT;column:transaction_id;type:int;" json:"transaction_id"`
	//[ 1] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 2] zone_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ZoneID null.Int `gorm:"column:zone_id;type:int;default:0;" json:"zone_id"`
	//[ 3] merchant_id                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MerchantID null.Int `gorm:"column:merchant_id;type:int;default:0;" json:"merchant_id"`
	//[ 4] merchant_pp                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MerchantPp null.Int `gorm:"column:merchant_pp;type:int;default:0;" json:"merchant_pp"`
	//[ 5] merchant_gp                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MerchantGp null.Int `gorm:"column:merchant_gp;type:int;default:0;" json:"merchant_gp"`
	//[ 6] merchant_sp                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MerchantSp null.Int `gorm:"column:merchant_sp;type:int;default:0;" json:"merchant_sp"`
	//[ 7] merchant_cp                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MerchantCp null.Int `gorm:"column:merchant_cp;type:int;default:0;" json:"merchant_cp"`
	//[ 8] merchant_items                                 mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	MerchantItems null.Int `gorm:"column:merchant_items;type:mediumint;default:0;" json:"merchant_items"`
	//[ 9] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
	//[10] char_pp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharPp null.Int `gorm:"column:char_pp;type:int;default:0;" json:"char_pp"`
	//[11] char_gp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharGp null.Int `gorm:"column:char_gp;type:int;default:0;" json:"char_gp"`
	//[12] char_sp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharSp null.Int `gorm:"column:char_sp;type:int;default:0;" json:"char_sp"`
	//[13] char_cp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharCp null.Int `gorm:"column:char_cp;type:int;default:0;" json:"char_cp"`
	//[14] char_items                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharItems null.Int `gorm:"column:char_items;type:mediumint;default:0;" json:"char_items"`
}

QsMerchantTransactionRecord struct is a row record of the qs_merchant_transaction_record table in the eqemu database

func (*QsMerchantTransactionRecord) BeforeSave

func (q *QsMerchantTransactionRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsMerchantTransactionRecord) Prepare

func (q *QsMerchantTransactionRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsMerchantTransactionRecord) TableInfo

func (q *QsMerchantTransactionRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsMerchantTransactionRecord) TableName

func (q *QsMerchantTransactionRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsMerchantTransactionRecord) Validate

func (q *QsMerchantTransactionRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsMerchantTransactionRecordEntries

type QsMerchantTransactionRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] char_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharSlot null.Int `gorm:"column:char_slot;type:mediumint;default:0;" json:"char_slot"`
	//[ 2] item_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID null.Int `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 3] charges                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:mediumint;default:0;" json:"charges"`
	//[ 4] aug_1                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:int;default:0;" json:"aug_1"`
	//[ 5] aug_2                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:int;default:0;" json:"aug_2"`
	//[ 6] aug_3                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:int;default:0;" json:"aug_3"`
	//[ 7] aug_4                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:int;default:0;" json:"aug_4"`
	//[ 8] aug_5                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:int;default:0;" json:"aug_5"`
}

QsMerchantTransactionRecordEntries struct is a row record of the qs_merchant_transaction_record_entries table in the eqemu database

func (*QsMerchantTransactionRecordEntries) BeforeSave

func (q *QsMerchantTransactionRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsMerchantTransactionRecordEntries) Prepare

Prepare invoked before saving, can be used to populate fields etc.

func (*QsMerchantTransactionRecordEntries) TableInfo

TableInfo return table meta data

func (*QsMerchantTransactionRecordEntries) TableName

TableName sets the insert table name for this struct type

func (*QsMerchantTransactionRecordEntries) Validate

func (q *QsMerchantTransactionRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerAaRateHourly

type QsPlayerAaRateHourly struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:char_id;type:int;default:0;" json:"char_id"`
	//[ 1] hour_time                                      int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	HourTime int32 `gorm:"primary_key;column:hour_time;type:int;" json:"hour_time"`
	//[ 2] aa_count                                       varchar(11)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 11      default: [NULL]
	AaCount null.String `gorm:"column:aa_count;type:varchar;size:11;" json:"aa_count"`
}

QsPlayerAaRateHourly struct is a row record of the qs_player_aa_rate_hourly table in the eqemu database

func (*QsPlayerAaRateHourly) BeforeSave

func (q *QsPlayerAaRateHourly) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerAaRateHourly) Prepare

func (q *QsPlayerAaRateHourly) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerAaRateHourly) TableInfo

func (q *QsPlayerAaRateHourly) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerAaRateHourly) TableName

func (q *QsPlayerAaRateHourly) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerAaRateHourly) Validate

func (q *QsPlayerAaRateHourly) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerDeleteRecord

type QsPlayerDeleteRecord struct {
	//[ 0] delete_id                                      int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	DeleteID int32 `gorm:"primary_key;AUTO_INCREMENT;column:delete_id;type:int;" json:"delete_id"`
	//[ 1] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 2] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
	//[ 3] stack_size                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	StackSize null.Int `gorm:"column:stack_size;type:mediumint;default:0;" json:"stack_size"`
	//[ 4] char_items                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharItems null.Int `gorm:"column:char_items;type:mediumint;default:0;" json:"char_items"`
}

QsPlayerDeleteRecord struct is a row record of the qs_player_delete_record table in the eqemu database

func (*QsPlayerDeleteRecord) BeforeSave

func (q *QsPlayerDeleteRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerDeleteRecord) Prepare

func (q *QsPlayerDeleteRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerDeleteRecord) TableInfo

func (q *QsPlayerDeleteRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerDeleteRecord) TableName

func (q *QsPlayerDeleteRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerDeleteRecord) Validate

func (q *QsPlayerDeleteRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerDeleteRecordEntries

type QsPlayerDeleteRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] char_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharSlot null.Int `gorm:"column:char_slot;type:mediumint;default:0;" json:"char_slot"`
	//[ 2] item_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID null.Int `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 3] charges                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:mediumint;default:0;" json:"charges"`
	//[ 4] aug_1                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:int;default:0;" json:"aug_1"`
	//[ 5] aug_2                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:int;default:0;" json:"aug_2"`
	//[ 6] aug_3                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:int;default:0;" json:"aug_3"`
	//[ 7] aug_4                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:int;default:0;" json:"aug_4"`
	//[ 8] aug_5                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:int;default:0;" json:"aug_5"`
}

QsPlayerDeleteRecordEntries struct is a row record of the qs_player_delete_record_entries table in the eqemu database

func (*QsPlayerDeleteRecordEntries) BeforeSave

func (q *QsPlayerDeleteRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerDeleteRecordEntries) Prepare

func (q *QsPlayerDeleteRecordEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerDeleteRecordEntries) TableInfo

func (q *QsPlayerDeleteRecordEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerDeleteRecordEntries) TableName

func (q *QsPlayerDeleteRecordEntries) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerDeleteRecordEntries) Validate

func (q *QsPlayerDeleteRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerEvents

type QsPlayerEvents struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
	//[ 2] event                                          uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Event null.Int `gorm:"column:event;type:uint;default:0;" json:"event"`
	//[ 3] event_desc                                     varchar(255)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [NULL]
	EventDesc null.String `gorm:"column:event_desc;type:varchar;size:255;" json:"event_desc"`
	//[ 4] time                                           uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Time null.Int `gorm:"column:time;type:uint;default:0;" json:"time"`
}

QsPlayerEvents struct is a row record of the qs_player_events table in the eqemu database

func (*QsPlayerEvents) BeforeSave

func (q *QsPlayerEvents) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerEvents) Prepare

func (q *QsPlayerEvents) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerEvents) TableInfo

func (q *QsPlayerEvents) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerEvents) TableName

func (q *QsPlayerEvents) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerEvents) Validate

func (q *QsPlayerEvents) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerHandinRecord

type QsPlayerHandinRecord struct {
	//[ 0] handin_id                                      int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	HandinID int32 `gorm:"primary_key;AUTO_INCREMENT;column:handin_id;type:int;" json:"handin_id"`
	//[ 1] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 2] quest_id                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	QuestID null.Int `gorm:"column:quest_id;type:int;default:0;" json:"quest_id"`
	//[ 3] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
	//[ 4] char_pp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharPp null.Int `gorm:"column:char_pp;type:int;default:0;" json:"char_pp"`
	//[ 5] char_gp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharGp null.Int `gorm:"column:char_gp;type:int;default:0;" json:"char_gp"`
	//[ 6] char_sp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharSp null.Int `gorm:"column:char_sp;type:int;default:0;" json:"char_sp"`
	//[ 7] char_cp                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharCp null.Int `gorm:"column:char_cp;type:int;default:0;" json:"char_cp"`
	//[ 8] char_items                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharItems null.Int `gorm:"column:char_items;type:mediumint;default:0;" json:"char_items"`
	//[ 9] npc_id                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcID null.Int `gorm:"column:npc_id;type:int;default:0;" json:"npc_id"`
	//[10] npc_pp                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcPp null.Int `gorm:"column:npc_pp;type:int;default:0;" json:"npc_pp"`
	//[11] npc_gp                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcGp null.Int `gorm:"column:npc_gp;type:int;default:0;" json:"npc_gp"`
	//[12] npc_sp                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcSp null.Int `gorm:"column:npc_sp;type:int;default:0;" json:"npc_sp"`
	//[13] npc_cp                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcCp null.Int `gorm:"column:npc_cp;type:int;default:0;" json:"npc_cp"`
	//[14] npc_items                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	NpcItems null.Int `gorm:"column:npc_items;type:mediumint;default:0;" json:"npc_items"`
}

QsPlayerHandinRecord struct is a row record of the qs_player_handin_record table in the eqemu database

func (*QsPlayerHandinRecord) BeforeSave

func (q *QsPlayerHandinRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerHandinRecord) Prepare

func (q *QsPlayerHandinRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerHandinRecord) TableInfo

func (q *QsPlayerHandinRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerHandinRecord) TableName

func (q *QsPlayerHandinRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerHandinRecord) Validate

func (q *QsPlayerHandinRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerHandinRecordEntries

type QsPlayerHandinRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] action_type                                    char(6)              null: true   primary: false  isArray: false  auto: false  col: char            len: 6       default: ['action']
	ActionType null.String `gorm:"column:action_type;type:char;size:6;default:'action';" json:"action_type"`
	//[ 2] char_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharSlot null.Int `gorm:"column:char_slot;type:mediumint;default:0;" json:"char_slot"`
	//[ 3] item_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID null.Int `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 4] charges                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:mediumint;default:0;" json:"charges"`
	//[ 5] aug_1                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:int;default:0;" json:"aug_1"`
	//[ 6] aug_2                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:int;default:0;" json:"aug_2"`
	//[ 7] aug_3                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:int;default:0;" json:"aug_3"`
	//[ 8] aug_4                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:int;default:0;" json:"aug_4"`
	//[ 9] aug_5                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:int;default:0;" json:"aug_5"`
}

QsPlayerHandinRecordEntries struct is a row record of the qs_player_handin_record_entries table in the eqemu database

func (*QsPlayerHandinRecordEntries) BeforeSave

func (q *QsPlayerHandinRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerHandinRecordEntries) Prepare

func (q *QsPlayerHandinRecordEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerHandinRecordEntries) TableInfo

func (q *QsPlayerHandinRecordEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerHandinRecordEntries) TableName

func (q *QsPlayerHandinRecordEntries) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerHandinRecordEntries) Validate

func (q *QsPlayerHandinRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerMoveRecord

type QsPlayerMoveRecord struct {
	//[ 0] move_id                                        int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	MoveID int32 `gorm:"primary_key;AUTO_INCREMENT;column:move_id;type:int;" json:"move_id"`
	//[ 1] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 2] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
	//[ 3] from_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	FromSlot null.Int `gorm:"column:from_slot;type:mediumint;default:0;" json:"from_slot"`
	//[ 4] to_slot                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	ToSlot null.Int `gorm:"column:to_slot;type:mediumint;default:0;" json:"to_slot"`
	//[ 5] stack_size                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	StackSize null.Int `gorm:"column:stack_size;type:mediumint;default:0;" json:"stack_size"`
	//[ 6] char_items                                     mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	CharItems null.Int `gorm:"column:char_items;type:mediumint;default:0;" json:"char_items"`
	//[ 7] postaction                                     tinyint              null: true   primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Postaction null.Int `gorm:"column:postaction;type:tinyint;default:0;" json:"postaction"`
}

QsPlayerMoveRecord struct is a row record of the qs_player_move_record table in the eqemu database

func (*QsPlayerMoveRecord) BeforeSave

func (q *QsPlayerMoveRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerMoveRecord) Prepare

func (q *QsPlayerMoveRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerMoveRecord) TableInfo

func (q *QsPlayerMoveRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerMoveRecord) TableName

func (q *QsPlayerMoveRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerMoveRecord) Validate

func (q *QsPlayerMoveRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerMoveRecordEntries

type QsPlayerMoveRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] from_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	FromSlot null.Int `gorm:"column:from_slot;type:mediumint;default:0;" json:"from_slot"`
	//[ 2] to_slot                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	ToSlot null.Int `gorm:"column:to_slot;type:mediumint;default:0;" json:"to_slot"`
	//[ 3] item_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID null.Int `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 4] charges                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:mediumint;default:0;" json:"charges"`
	//[ 5] aug_1                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:int;default:0;" json:"aug_1"`
	//[ 6] aug_2                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:int;default:0;" json:"aug_2"`
	//[ 7] aug_3                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:int;default:0;" json:"aug_3"`
	//[ 8] aug_4                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:int;default:0;" json:"aug_4"`
	//[ 9] aug_5                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:int;default:0;" json:"aug_5"`
}

QsPlayerMoveRecordEntries struct is a row record of the qs_player_move_record_entries table in the eqemu database

func (*QsPlayerMoveRecordEntries) BeforeSave

func (q *QsPlayerMoveRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerMoveRecordEntries) Prepare

func (q *QsPlayerMoveRecordEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerMoveRecordEntries) TableInfo

func (q *QsPlayerMoveRecordEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerMoveRecordEntries) TableName

func (q *QsPlayerMoveRecordEntries) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerMoveRecordEntries) Validate

func (q *QsPlayerMoveRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerNpcKillRecord

type QsPlayerNpcKillRecord struct {
	//[ 0] fight_id                                       int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	FightID int32 `gorm:"primary_key;AUTO_INCREMENT;column:fight_id;type:int;" json:"fight_id"`
	//[ 1] npc_id                                         int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	NpcID null.Int `gorm:"column:npc_id;type:int;" json:"npc_id"`
	//[ 2] type                                           int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Type null.Int `gorm:"column:type;type:int;" json:"type"`
	//[ 3] zone_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	ZoneID null.Int `gorm:"column:zone_id;type:int;" json:"zone_id"`
	//[ 4] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
}

QsPlayerNpcKillRecord struct is a row record of the qs_player_npc_kill_record table in the eqemu database

func (*QsPlayerNpcKillRecord) BeforeSave

func (q *QsPlayerNpcKillRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerNpcKillRecord) Prepare

func (q *QsPlayerNpcKillRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerNpcKillRecord) TableInfo

func (q *QsPlayerNpcKillRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerNpcKillRecord) TableName

func (q *QsPlayerNpcKillRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerNpcKillRecord) Validate

func (q *QsPlayerNpcKillRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerNpcKillRecordEntries

type QsPlayerNpcKillRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] char_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID null.Int `gorm:"column:char_id;type:int;default:0;" json:"char_id"`
}

QsPlayerNpcKillRecordEntries struct is a row record of the qs_player_npc_kill_record_entries table in the eqemu database

func (*QsPlayerNpcKillRecordEntries) BeforeSave

func (q *QsPlayerNpcKillRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerNpcKillRecordEntries) Prepare

func (q *QsPlayerNpcKillRecordEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerNpcKillRecordEntries) TableInfo

func (q *QsPlayerNpcKillRecordEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerNpcKillRecordEntries) TableName

func (q *QsPlayerNpcKillRecordEntries) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerNpcKillRecordEntries) Validate

func (q *QsPlayerNpcKillRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerSpeech

type QsPlayerSpeech struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] from                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	From string `gorm:"column:from;type:varchar;size:64;" json:"from"`
	//[ 2] to                                             varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	To string `gorm:"column:to;type:varchar;size:64;" json:"to"`
	//[ 3] message                                        varchar(256)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 256     default: []
	Message string `gorm:"column:message;type:varchar;size:256;" json:"message"`
	//[ 4] minstatus                                      smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: []
	Minstatus int32 `gorm:"column:minstatus;type:smallint;" json:"minstatus"`
	//[ 5] guilddbid                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: []
	Guilddbid int32 `gorm:"column:guilddbid;type:int;" json:"guilddbid"`
	//[ 6] type                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: []
	Type int32 `gorm:"column:type;type:tinyint;" json:"type"`
	//[ 7] timerecorded                                   timestamp            null: false  primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [current_timestamp()]
	Timerecorded time.Time `gorm:"column:timerecorded;type:timestamp;" json:"timerecorded"`
}

QsPlayerSpeech struct is a row record of the qs_player_speech table in the eqemu database

func (*QsPlayerSpeech) BeforeSave

func (q *QsPlayerSpeech) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerSpeech) Prepare

func (q *QsPlayerSpeech) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerSpeech) TableInfo

func (q *QsPlayerSpeech) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerSpeech) TableName

func (q *QsPlayerSpeech) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerSpeech) Validate

func (q *QsPlayerSpeech) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerTradeRecord

type QsPlayerTradeRecord struct {
	//[ 0] trade_id                                       int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	TradeID int32 `gorm:"primary_key;AUTO_INCREMENT;column:trade_id;type:int;" json:"trade_id"`
	//[ 1] time                                           timestamp            null: true   primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [NULL]
	Time null.Time `gorm:"column:time;type:timestamp;" json:"time"`
	//[ 2] char1_id                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char1ID null.Int `gorm:"column:char1_id;type:int;default:0;" json:"char_1_id"`
	//[ 3] char1_pp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char1Pp null.Int `gorm:"column:char1_pp;type:int;default:0;" json:"char_1_pp"`
	//[ 4] char1_gp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char1Gp null.Int `gorm:"column:char1_gp;type:int;default:0;" json:"char_1_gp"`
	//[ 5] char1_sp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char1Sp null.Int `gorm:"column:char1_sp;type:int;default:0;" json:"char_1_sp"`
	//[ 6] char1_cp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char1Cp null.Int `gorm:"column:char1_cp;type:int;default:0;" json:"char_1_cp"`
	//[ 7] char1_items                                    mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Char1Items null.Int `gorm:"column:char1_items;type:mediumint;default:0;" json:"char_1_items"`
	//[ 8] char2_id                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char2ID null.Int `gorm:"column:char2_id;type:int;default:0;" json:"char_2_id"`
	//[ 9] char2_pp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char2Pp null.Int `gorm:"column:char2_pp;type:int;default:0;" json:"char_2_pp"`
	//[10] char2_gp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char2Gp null.Int `gorm:"column:char2_gp;type:int;default:0;" json:"char_2_gp"`
	//[11] char2_sp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char2Sp null.Int `gorm:"column:char2_sp;type:int;default:0;" json:"char_2_sp"`
	//[12] char2_cp                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Char2Cp null.Int `gorm:"column:char2_cp;type:int;default:0;" json:"char_2_cp"`
	//[13] char2_items                                    mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Char2Items null.Int `gorm:"column:char2_items;type:mediumint;default:0;" json:"char_2_items"`
}

QsPlayerTradeRecord struct is a row record of the qs_player_trade_record table in the eqemu database

func (*QsPlayerTradeRecord) BeforeSave

func (q *QsPlayerTradeRecord) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerTradeRecord) Prepare

func (q *QsPlayerTradeRecord) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerTradeRecord) TableInfo

func (q *QsPlayerTradeRecord) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerTradeRecord) TableName

func (q *QsPlayerTradeRecord) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerTradeRecord) Validate

func (q *QsPlayerTradeRecord) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QsPlayerTradeRecordEntries

type QsPlayerTradeRecordEntries struct {
	//[ 0] event_id                                       int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	EventID int32 `gorm:"primary_key;column:event_id;type:int;default:0;" json:"event_id"`
	//[ 1] from_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	FromID null.Int `gorm:"column:from_id;type:int;default:0;" json:"from_id"`
	//[ 2] from_slot                                      mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	FromSlot null.Int `gorm:"column:from_slot;type:mediumint;default:0;" json:"from_slot"`
	//[ 3] to_id                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ToID null.Int `gorm:"column:to_id;type:int;default:0;" json:"to_id"`
	//[ 4] to_slot                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	ToSlot null.Int `gorm:"column:to_slot;type:mediumint;default:0;" json:"to_slot"`
	//[ 5] item_id                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID null.Int `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 6] charges                                        mediumint            null: true   primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:mediumint;default:0;" json:"charges"`
	//[ 7] aug_1                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug1 null.Int `gorm:"column:aug_1;type:int;default:0;" json:"aug_1"`
	//[ 8] aug_2                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug2 null.Int `gorm:"column:aug_2;type:int;default:0;" json:"aug_2"`
	//[ 9] aug_3                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug3 null.Int `gorm:"column:aug_3;type:int;default:0;" json:"aug_3"`
	//[10] aug_4                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug4 null.Int `gorm:"column:aug_4;type:int;default:0;" json:"aug_4"`
	//[11] aug_5                                          int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aug5 null.Int `gorm:"column:aug_5;type:int;default:0;" json:"aug_5"`
}

QsPlayerTradeRecordEntries struct is a row record of the qs_player_trade_record_entries table in the eqemu database

func (*QsPlayerTradeRecordEntries) BeforeSave

func (q *QsPlayerTradeRecordEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QsPlayerTradeRecordEntries) Prepare

func (q *QsPlayerTradeRecordEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QsPlayerTradeRecordEntries) TableInfo

func (q *QsPlayerTradeRecordEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*QsPlayerTradeRecordEntries) TableName

func (q *QsPlayerTradeRecordEntries) TableName() string

TableName sets the insert table name for this struct type

func (*QsPlayerTradeRecordEntries) Validate

func (q *QsPlayerTradeRecordEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type QuestGlobals

type QuestGlobals struct {
	//[ 0] charid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Charid int32 `gorm:"primary_key;column:charid;type:int;default:0;" json:"charid"`
	//[ 1] npcid                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Npcid int32 `gorm:"primary_key;column:npcid;type:int;default:0;" json:"npcid"`
	//[ 2] zoneid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"primary_key;column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 3] name                                           varchar(65)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 65      default: [”]
	Name string `gorm:"primary_key;column:name;type:varchar;size:65;default:'';" json:"name"`
	//[ 4] value                                          varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: ['?']
	Value string `gorm:"column:value;type:varchar;size:128;default:'?';" json:"value"`
	//[ 5] expdate                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Expdate null.Int `gorm:"column:expdate;type:int;" json:"expdate"`
}

QuestGlobals struct is a row record of the quest_globals table in the eqemu database

func (*QuestGlobals) BeforeSave

func (q *QuestGlobals) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*QuestGlobals) Prepare

func (q *QuestGlobals) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*QuestGlobals) TableInfo

func (q *QuestGlobals) TableInfo() *TableInfo

TableInfo return table meta data

func (*QuestGlobals) TableName

func (q *QuestGlobals) TableName() string

TableName sets the insert table name for this struct type

func (*QuestGlobals) Validate

func (q *QuestGlobals) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RaidDetails

type RaidDetails struct {
	//[ 0] raidid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Raidid int32 `gorm:"primary_key;column:raidid;type:int;default:0;" json:"raidid"`
	//[ 1] loottype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Loottype int32 `gorm:"column:loottype;type:int;default:0;" json:"loottype"`
	//[ 2] locked                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Locked int32 `gorm:"column:locked;type:tinyint;default:0;" json:"locked"`
	//[ 3] motd                                           varchar(1024)        null: true   primary: false  isArray: false  auto: false  col: varchar         len: 1024    default: [NULL]
	Motd null.String `gorm:"column:motd;type:varchar;size:1024;" json:"motd"`
}

RaidDetails struct is a row record of the raid_details table in the eqemu database

func (*RaidDetails) BeforeSave

func (r *RaidDetails) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RaidDetails) Prepare

func (r *RaidDetails) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RaidDetails) TableInfo

func (r *RaidDetails) TableInfo() *TableInfo

TableInfo return table meta data

func (*RaidDetails) TableName

func (r *RaidDetails) TableName() string

TableName sets the insert table name for this struct type

func (*RaidDetails) Validate

func (r *RaidDetails) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RaidLeaders

type RaidLeaders struct {
	//[ 0] gid                                            uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	Gid uint32 `gorm:"primary_key;column:gid;type:uint;" json:"gid"`
	//[ 1] rid                                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	Rid uint32 `gorm:"column:rid;type:uint;" json:"rid"`
	//[ 2] marknpc                                        varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Marknpc string `gorm:"column:marknpc;type:varchar;size:64;" json:"marknpc"`
	//[ 3] maintank                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Maintank string `gorm:"column:maintank;type:varchar;size:64;" json:"maintank"`
	//[ 4] assist                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Assist string `gorm:"column:assist;type:varchar;size:64;" json:"assist"`
	//[ 5] puller                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Puller string `gorm:"column:puller;type:varchar;size:64;" json:"puller"`
	//[ 6] leadershipaa                                   blob                 null: false  primary: false  isArray: false  auto: false  col: blob            len: -1      default: []
	Leadershipaa []byte `gorm:"column:leadershipaa;type:blob;" json:"leadershipaa"`
	//[ 7] mentoree                                       varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Mentoree string `gorm:"column:mentoree;type:varchar;size:64;" json:"mentoree"`
	//[ 8] mentor_percent                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MentorPercent int32 `gorm:"column:mentor_percent;type:int;default:0;" json:"mentor_percent"`
}

RaidLeaders struct is a row record of the raid_leaders table in the eqemu database

func (*RaidLeaders) BeforeSave

func (r *RaidLeaders) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RaidLeaders) Prepare

func (r *RaidLeaders) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RaidLeaders) TableInfo

func (r *RaidLeaders) TableInfo() *TableInfo

TableInfo return table meta data

func (*RaidLeaders) TableName

func (r *RaidLeaders) TableName() string

TableName sets the insert table name for this struct type

func (*RaidLeaders) Validate

func (r *RaidLeaders) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RaidMembers

type RaidMembers struct {
	//[ 0] raidid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Raidid int32 `gorm:"column:raidid;type:int;default:0;" json:"raidid"`
	//[ 1] charid                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Charid int32 `gorm:"primary_key;column:charid;type:int;default:0;" json:"charid"`
	//[ 2] groupid                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Groupid uint32 `gorm:"column:groupid;type:uint;default:0;" json:"groupid"`
	//[ 3] _class                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Class int32 `gorm:"column:_class;type:tinyint;default:0;" json:"_class"`
	//[ 4] level                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Level int32 `gorm:"column:level;type:tinyint;default:0;" json:"level"`
	//[ 5] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"column:name;type:varchar;size:64;default:'';" json:"name"`
	//[ 6] isgroupleader                                  tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Isgroupleader int32 `gorm:"column:isgroupleader;type:tinyint;default:0;" json:"isgroupleader"`
	//[ 7] israidleader                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Israidleader int32 `gorm:"column:israidleader;type:tinyint;default:0;" json:"israidleader"`
	//[ 8] islooter                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Islooter int32 `gorm:"column:islooter;type:tinyint;default:0;" json:"islooter"`
}

RaidMembers struct is a row record of the raid_members table in the eqemu database

func (*RaidMembers) BeforeSave

func (r *RaidMembers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RaidMembers) Prepare

func (r *RaidMembers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RaidMembers) TableInfo

func (r *RaidMembers) TableInfo() *TableInfo

TableInfo return table meta data

func (*RaidMembers) TableName

func (r *RaidMembers) TableName() string

TableName sets the insert table name for this struct type

func (*RaidMembers) Validate

func (r *RaidMembers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Reports

type Reports struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] name                                           varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Name null.String `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 2] reported                                       varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Reported null.String `gorm:"column:reported;type:varchar;size:64;" json:"reported"`
	//[ 3] reported_text                                  text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	ReportedText null.String `gorm:"column:reported_text;type:text;size:65535;" json:"reported_text"`
}

Reports struct is a row record of the reports table in the eqemu database

func (*Reports) BeforeSave

func (r *Reports) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Reports) Prepare

func (r *Reports) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Reports) TableInfo

func (r *Reports) TableInfo() *TableInfo

TableInfo return table meta data

func (*Reports) TableName

func (r *Reports) TableName() string

TableName sets the insert table name for this struct type

func (*Reports) Validate

func (r *Reports) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RespawnTimes

type RespawnTimes struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ID int32 `gorm:"primary_key;column:id;type:int;default:0;" json:"id"`
	//[ 1] start                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Start int32 `gorm:"column:start;type:int;default:0;" json:"start"`
	//[ 2] duration                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Duration int32 `gorm:"column:duration;type:int;default:0;" json:"duration"`
	//[ 3] instance_id                                    smallint             null: false  primary: true   isArray: false  auto: false  col: smallint        len: -1      default: [0]
	InstanceID int32 `gorm:"primary_key;column:instance_id;type:smallint;default:0;" json:"instance_id"`
}

RespawnTimes struct is a row record of the respawn_times table in the eqemu database

func (*RespawnTimes) BeforeSave

func (r *RespawnTimes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RespawnTimes) Prepare

func (r *RespawnTimes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RespawnTimes) TableInfo

func (r *RespawnTimes) TableInfo() *TableInfo

TableInfo return table meta data

func (*RespawnTimes) TableName

func (r *RespawnTimes) TableName() string

TableName sets the insert table name for this struct type

func (*RespawnTimes) Validate

func (r *RespawnTimes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RuleSets

type RuleSets struct {
	//[ 0] ruleset_id                                     utinyint             null: false  primary: true   isArray: false  auto: true   col: utinyint        len: -1      default: []
	RulesetID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:ruleset_id;type:utinyint;" json:"ruleset_id"`
	//[ 1] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
}

RuleSets struct is a row record of the rule_sets table in the eqemu database

func (*RuleSets) BeforeSave

func (r *RuleSets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RuleSets) Prepare

func (r *RuleSets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RuleSets) TableInfo

func (r *RuleSets) TableInfo() *TableInfo

TableInfo return table meta data

func (*RuleSets) TableName

func (r *RuleSets) TableName() string

TableName sets the insert table name for this struct type

func (*RuleSets) Validate

func (r *RuleSets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type RuleValues

type RuleValues struct {
	//[ 0] ruleset_id                                     utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	RulesetID uint32 `gorm:"primary_key;column:ruleset_id;type:utinyint;default:0;" json:"ruleset_id"`
	//[ 1] rule_name                                      varchar(64)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 64      default: [”]
	RuleName string `gorm:"primary_key;column:rule_name;type:varchar;size:64;default:'';" json:"rule_name"`
	//[ 2] rule_value                                     varchar(30)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 30      default: [”]
	RuleValue string `gorm:"column:rule_value;type:varchar;size:30;default:'';" json:"rule_value"`
	//[ 3] notes                                          text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Notes null.String `gorm:"column:notes;type:text;size:65535;" json:"notes"`
}

RuleValues struct is a row record of the rule_values table in the eqemu database

func (*RuleValues) BeforeSave

func (r *RuleValues) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*RuleValues) Prepare

func (r *RuleValues) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*RuleValues) TableInfo

func (r *RuleValues) TableInfo() *TableInfo

TableInfo return table meta data

func (*RuleValues) TableName

func (r *RuleValues) TableName() string

TableName sets the insert table name for this struct type

func (*RuleValues) Validate

func (r *RuleValues) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Saylink struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] phrase                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Phrase string `gorm:"column:phrase;type:varchar;size:64;default:'';" json:"phrase"`
}

Saylink struct is a row record of the saylink table in the eqemu database

func (*Saylink) BeforeSave

func (s *Saylink) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Saylink) Prepare

func (s *Saylink) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Saylink) TableInfo

func (s *Saylink) TableInfo() *TableInfo

TableInfo return table meta data

func (*Saylink) TableName

func (s *Saylink) TableName() string

TableName sets the insert table name for this struct type

func (*Saylink) Validate

func (s *Saylink) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Sharedbank

type Sharedbank struct {
	//[ 0] acctid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Acctid uint32 `gorm:"primary_key;column:acctid;type:uint;default:0;" json:"acctid"`
	//[ 1] slotid                                         umediumint           null: true   primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Slotid null.Int `gorm:"column:slotid;type:umediumint;default:0;" json:"slotid"`
	//[ 2] itemid                                         uint                 null: true   primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Itemid null.Int `gorm:"column:itemid;type:uint;default:0;" json:"itemid"`
	//[ 3] charges                                        usmallint            null: true   primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Charges null.Int `gorm:"column:charges;type:usmallint;default:0;" json:"charges"`
	//[ 4] augslot1                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot1 uint32 `gorm:"column:augslot1;type:umediumint;default:0;" json:"augslot_1"`
	//[ 5] augslot2                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot2 uint32 `gorm:"column:augslot2;type:umediumint;default:0;" json:"augslot_2"`
	//[ 6] augslot3                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot3 uint32 `gorm:"column:augslot3;type:umediumint;default:0;" json:"augslot_3"`
	//[ 7] augslot4                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot4 uint32 `gorm:"column:augslot4;type:umediumint;default:0;" json:"augslot_4"`
	//[ 8] augslot5                                       umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Augslot5 uint32 `gorm:"column:augslot5;type:umediumint;default:0;" json:"augslot_5"`
	//[ 9] augslot6                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Augslot6 int32 `gorm:"column:augslot6;type:mediumint;default:0;" json:"augslot_6"`
	//[10] custom_data                                    text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	CustomData null.String `gorm:"column:custom_data;type:text;size:65535;" json:"custom_data"`
}

Sharedbank struct is a row record of the sharedbank table in the eqemu database

func (*Sharedbank) BeforeSave

func (s *Sharedbank) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Sharedbank) Prepare

func (s *Sharedbank) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Sharedbank) TableInfo

func (s *Sharedbank) TableInfo() *TableInfo

TableInfo return table meta data

func (*Sharedbank) TableName

func (s *Sharedbank) TableName() string

TableName sets the insert table name for this struct type

func (*Sharedbank) Validate

func (s *Sharedbank) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SkillCaps

type SkillCaps struct {
	//[ 0] skillID                                        utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	SkillID uint32 `gorm:"primary_key;column:skillID;type:utinyint;default:0;" json:"skill_id"`
	//[ 1] class                                          utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Class uint32 `gorm:"primary_key;column:class;type:utinyint;default:0;" json:"class"`
	//[ 2] level                                          utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Level uint32 `gorm:"primary_key;column:level;type:utinyint;default:0;" json:"level"`
	//[ 3] cap                                            umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Cap uint32 `gorm:"column:cap;type:umediumint;default:0;" json:"cap"`
	//[ 4] class_                                         utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Classalt1 uint32 `gorm:"primary_key;column:class_;type:utinyint;default:0;" json:"class_"`
}

SkillCaps struct is a row record of the skill_caps table in the eqemu database

func (*SkillCaps) BeforeSave

func (s *SkillCaps) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SkillCaps) Prepare

func (s *SkillCaps) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SkillCaps) TableInfo

func (s *SkillCaps) TableInfo() *TableInfo

TableInfo return table meta data

func (*SkillCaps) TableName

func (s *SkillCaps) TableName() string

TableName sets the insert table name for this struct type

func (*SkillCaps) Validate

func (s *SkillCaps) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Spawn2

type Spawn2 struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] spawngroupID                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SpawngroupID int32 `gorm:"column:spawngroupID;type:int;default:0;" json:"spawngroup_id"`
	//[ 2] zone                                           varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Zone null.String `gorm:"column:zone;type:varchar;size:32;" json:"zone"`
	//[ 3] version                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Version int32 `gorm:"column:version;type:smallint;default:0;" json:"version"`
	//[ 4] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	X float32 `gorm:"column:x;type:float;default:0.000000;" json:"x"`
	//[ 5] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Y float32 `gorm:"column:y;type:float;default:0.000000;" json:"y"`
	//[ 6] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Z float32 `gorm:"column:z;type:float;default:0.000000;" json:"z"`
	//[ 7] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.000000]
	Heading float32 `gorm:"column:heading;type:float;default:0.000000;" json:"heading"`
	//[ 8] respawntime                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Respawntime int32 `gorm:"column:respawntime;type:int;default:0;" json:"respawntime"`
	//[ 9] variance                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Variance int32 `gorm:"column:variance;type:int;default:0;" json:"variance"`
	//[10] pathgrid                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pathgrid int32 `gorm:"column:pathgrid;type:int;default:0;" json:"pathgrid"`
	//[11] _condition                                     umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Condition uint32 `gorm:"column:_condition;type:umediumint;default:0;" json:"_condition"`
	//[12] cond_value                                     mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [1]
	CondValue int32 `gorm:"column:cond_value;type:mediumint;default:1;" json:"cond_value"`
	//[13] enabled                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Enabled uint32 `gorm:"column:enabled;type:utinyint;default:1;" json:"enabled"`
	//[14] animation                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Animation uint32 `gorm:"column:animation;type:utinyint;default:0;" json:"animation"`
	//[15] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[16] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[17] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[18] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Spawn2 struct is a row record of the spawn2 table in the eqemu database

func (*Spawn2) BeforeSave

func (s *Spawn2) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Spawn2) Prepare

func (s *Spawn2) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Spawn2) TableInfo

func (s *Spawn2) TableInfo() *TableInfo

TableInfo return table meta data

func (*Spawn2) TableName

func (s *Spawn2) TableName() string

TableName sets the insert table name for this struct type

func (*Spawn2) Validate

func (s *Spawn2) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpawnConditionValues

type SpawnConditionValues struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;column:id;type:uint;" json:"id"`
	//[ 1] value                                          utinyint             null: true   primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [NULL]
	Value null.Int `gorm:"column:value;type:utinyint;" json:"value"`
	//[ 2] zone                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Zone string `gorm:"column:zone;type:varchar;size:64;" json:"zone"`
	//[ 3] instance_id                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	InstanceID uint32 `gorm:"column:instance_id;type:uint;" json:"instance_id"`
}

SpawnConditionValues struct is a row record of the spawn_condition_values table in the eqemu database

func (*SpawnConditionValues) BeforeSave

func (s *SpawnConditionValues) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpawnConditionValues) Prepare

func (s *SpawnConditionValues) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpawnConditionValues) TableInfo

func (s *SpawnConditionValues) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpawnConditionValues) TableName

func (s *SpawnConditionValues) TableName() string

TableName sets the insert table name for this struct type

func (*SpawnConditionValues) Validate

func (s *SpawnConditionValues) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpawnConditions

type SpawnConditions struct {
	//[ 0] zone                                           varchar(32)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Zone string `gorm:"primary_key;column:zone;type:varchar;size:32;default:'';" json:"zone"`
	//[ 1] id                                             umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [1]
	ID uint32 `gorm:"primary_key;column:id;type:umediumint;default:1;" json:"id"`
	//[ 2] value                                          mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Value int32 `gorm:"column:value;type:mediumint;default:0;" json:"value"`
	//[ 3] onchange                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Onchange uint32 `gorm:"column:onchange;type:utinyint;default:0;" json:"onchange"`
	//[ 4] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
}

SpawnConditions struct is a row record of the spawn_conditions table in the eqemu database

func (*SpawnConditions) BeforeSave

func (s *SpawnConditions) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpawnConditions) Prepare

func (s *SpawnConditions) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpawnConditions) TableInfo

func (s *SpawnConditions) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpawnConditions) TableName

func (s *SpawnConditions) TableName() string

TableName sets the insert table name for this struct type

func (*SpawnConditions) Validate

func (s *SpawnConditions) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpawnEvents

type SpawnEvents struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] zone                                           varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Zone null.String `gorm:"column:zone;type:varchar;size:32;" json:"zone"`
	//[ 2] cond_id                                        umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	CondID uint32 `gorm:"column:cond_id;type:umediumint;default:0;" json:"cond_id"`
	//[ 3] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
	//[ 4] period                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Period uint32 `gorm:"column:period;type:uint;default:0;" json:"period"`
	//[ 5] next_minute                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NextMinute uint32 `gorm:"column:next_minute;type:utinyint;default:0;" json:"next_minute"`
	//[ 6] next_hour                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NextHour uint32 `gorm:"column:next_hour;type:utinyint;default:0;" json:"next_hour"`
	//[ 7] next_day                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NextDay uint32 `gorm:"column:next_day;type:utinyint;default:0;" json:"next_day"`
	//[ 8] next_month                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	NextMonth uint32 `gorm:"column:next_month;type:utinyint;default:0;" json:"next_month"`
	//[ 9] next_year                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	NextYear uint32 `gorm:"column:next_year;type:uint;default:0;" json:"next_year"`
	//[10] enabled                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Enabled int32 `gorm:"column:enabled;type:tinyint;default:1;" json:"enabled"`
	//[11] action                                         utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Action uint32 `gorm:"column:action;type:utinyint;default:0;" json:"action"`
	//[12] argument                                       mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [0]
	Argument int32 `gorm:"column:argument;type:mediumint;default:0;" json:"argument"`
	//[13] strict                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Strict int32 `gorm:"column:strict;type:tinyint;default:0;" json:"strict"`
}

SpawnEvents struct is a row record of the spawn_events table in the eqemu database

func (*SpawnEvents) BeforeSave

func (s *SpawnEvents) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpawnEvents) Prepare

func (s *SpawnEvents) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpawnEvents) TableInfo

func (s *SpawnEvents) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpawnEvents) TableName

func (s *SpawnEvents) TableName() string

TableName sets the insert table name for this struct type

func (*SpawnEvents) Validate

func (s *SpawnEvents) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Spawnentry

type Spawnentry struct {
	//[ 0] spawngroupID                                   int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	SpawngroupID int32 `gorm:"primary_key;column:spawngroupID;type:int;default:0;" json:"spawngroup_id"`
	//[ 1] npcID                                          int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcID int32 `gorm:"primary_key;column:npcID;type:int;default:0;" json:"npc_id"`
	//[ 2] chance                                         smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Chance int32 `gorm:"column:chance;type:smallint;default:0;" json:"chance"`
	//[ 3] condition_value_filter                         mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [1]
	ConditionValueFilter int32 `gorm:"column:condition_value_filter;type:mediumint;default:1;" json:"condition_value_filter"`
}

Spawnentry struct is a row record of the spawnentry table in the eqemu database

func (*Spawnentry) BeforeSave

func (s *Spawnentry) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Spawnentry) Prepare

func (s *Spawnentry) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Spawnentry) TableInfo

func (s *Spawnentry) TableInfo() *TableInfo

TableInfo return table meta data

func (*Spawnentry) TableName

func (s *Spawnentry) TableName() string

TableName sets the insert table name for this struct type

func (*Spawnentry) Validate

func (s *Spawnentry) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Spawngroup

type Spawngroup struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(50)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 50      default: [”]
	Name string `gorm:"column:name;type:varchar;size:50;default:'';" json:"name"`
	//[ 2] spawn_limit                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	SpawnLimit int32 `gorm:"column:spawn_limit;type:tinyint;default:0;" json:"spawn_limit"`
	//[ 3] dist                                           float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Dist float32 `gorm:"column:dist;type:float;default:0;" json:"dist"`
	//[ 4] max_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MaxX float32 `gorm:"column:max_x;type:float;default:0;" json:"max_x"`
	//[ 5] min_x                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MinX float32 `gorm:"column:min_x;type:float;default:0;" json:"min_x"`
	//[ 6] max_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MaxY float32 `gorm:"column:max_y;type:float;default:0;" json:"max_y"`
	//[ 7] min_y                                          float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MinY float32 `gorm:"column:min_y;type:float;default:0;" json:"min_y"`
	//[ 8] delay                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [45000]
	Delay int32 `gorm:"column:delay;type:int;default:45000;" json:"delay"`
	//[ 9] mindelay                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [15000]
	Mindelay int32 `gorm:"column:mindelay;type:int;default:15000;" json:"mindelay"`
	//[10] despawn                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Despawn int32 `gorm:"column:despawn;type:tinyint;default:0;" json:"despawn"`
	//[11] despawn_timer                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	DespawnTimer int32 `gorm:"column:despawn_timer;type:int;default:100;" json:"despawn_timer"`
	//[12] wp_spawns                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	WpSpawns uint32 `gorm:"column:wp_spawns;type:utinyint;default:0;" json:"wp_spawns"`
}

Spawngroup struct is a row record of the spawngroup table in the eqemu database

func (*Spawngroup) BeforeSave

func (s *Spawngroup) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Spawngroup) Prepare

func (s *Spawngroup) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Spawngroup) TableInfo

func (s *Spawngroup) TableInfo() *TableInfo

TableInfo return table meta data

func (*Spawngroup) TableName

func (s *Spawngroup) TableName() string

TableName sets the insert table name for this struct type

func (*Spawngroup) Validate

func (s *Spawngroup) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpellBuckets

type SpellBuckets struct {
	//[ 0] spellid                                        ubigint              null: false  primary: true   isArray: false  auto: false  col: ubigint         len: -1      default: []
	Spellid uint64 `gorm:"primary_key;column:spellid;type:ubigint;" json:"spellid"`
	//[ 1] key                                            varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	Key null.String `gorm:"column:key;type:varchar;size:100;" json:"key"`
	//[ 2] value                                          text(65535)          null: true   primary: false  isArray: false  auto: false  col: text            len: 65535   default: [NULL]
	Value null.String `gorm:"column:value;type:text;size:65535;" json:"value"`
}

SpellBuckets struct is a row record of the spell_buckets table in the eqemu database

func (*SpellBuckets) BeforeSave

func (s *SpellBuckets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpellBuckets) Prepare

func (s *SpellBuckets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpellBuckets) TableInfo

func (s *SpellBuckets) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpellBuckets) TableName

func (s *SpellBuckets) TableName() string

TableName sets the insert table name for this struct type

func (*SpellBuckets) Validate

func (s *SpellBuckets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpellGlobals

type SpellGlobals struct {
	//[ 0] spellid                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: []
	Spellid int32 `gorm:"primary_key;column:spellid;type:int;" json:"spellid"`
	//[ 1] spell_name                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	SpellName string `gorm:"column:spell_name;type:varchar;size:64;default:'';" json:"spell_name"`
	//[ 2] qglobal                                        varchar(65)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 65      default: [”]
	Qglobal string `gorm:"column:qglobal;type:varchar;size:65;default:'';" json:"qglobal"`
	//[ 3] value                                          varchar(65)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 65      default: [”]
	Value string `gorm:"column:value;type:varchar;size:65;default:'';" json:"value"`
}

SpellGlobals struct is a row record of the spell_globals table in the eqemu database

func (*SpellGlobals) BeforeSave

func (s *SpellGlobals) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpellGlobals) Prepare

func (s *SpellGlobals) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpellGlobals) TableInfo

func (s *SpellGlobals) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpellGlobals) TableName

func (s *SpellGlobals) TableName() string

TableName sets the insert table name for this struct type

func (*SpellGlobals) Validate

func (s *SpellGlobals) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type SpellsNew

type SpellsNew struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ID int32 `gorm:"primary_key;column:id;type:int;default:0;" json:"id"`
	//[ 1] name                                           varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	Name null.String `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 2] player_1                                       varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['BLUE_TRAIL']
	Player1 null.String `gorm:"column:player_1;type:varchar;size:64;default:'BLUE_TRAIL';" json:"player_1"`
	//[ 3] teleport_zone                                  varchar(64)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [NULL]
	TeleportZone null.String `gorm:"column:teleport_zone;type:varchar;size:64;" json:"teleport_zone"`
	//[ 4] you_cast                                       varchar(120)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 120     default: [NULL]
	YouCast null.String `gorm:"column:you_cast;type:varchar;size:120;" json:"you_cast"`
	//[ 5] other_casts                                    varchar(120)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 120     default: [NULL]
	OtherCasts null.String `gorm:"column:other_casts;type:varchar;size:120;" json:"other_casts"`
	//[ 6] cast_on_you                                    varchar(120)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 120     default: [NULL]
	CastOnYou null.String `gorm:"column:cast_on_you;type:varchar;size:120;" json:"cast_on_you"`
	//[ 7] cast_on_other                                  varchar(120)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 120     default: [NULL]
	CastOnOther null.String `gorm:"column:cast_on_other;type:varchar;size:120;" json:"cast_on_other"`
	//[ 8] spell_fades                                    varchar(120)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 120     default: [NULL]
	SpellFades null.String `gorm:"column:spell_fades;type:varchar;size:120;" json:"spell_fades"`
	//[ 9] range                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Range int32 `gorm:"column:range;type:int;default:100;" json:"range"`
	//[10] aoerange                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aoerange int32 `gorm:"column:aoerange;type:int;default:0;" json:"aoerange"`
	//[11] pushback                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pushback int32 `gorm:"column:pushback;type:int;default:0;" json:"pushback"`
	//[12] pushup                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Pushup int32 `gorm:"column:pushup;type:int;default:0;" json:"pushup"`
	//[13] cast_time                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastTime int32 `gorm:"column:cast_time;type:int;default:0;" json:"cast_time"`
	//[14] recovery_time                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RecoveryTime int32 `gorm:"column:recovery_time;type:int;default:0;" json:"recovery_time"`
	//[15] recast_time                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RecastTime int32 `gorm:"column:recast_time;type:int;default:0;" json:"recast_time"`
	//[16] buffdurationformula                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [7]
	Buffdurationformula int32 `gorm:"column:buffdurationformula;type:int;default:7;" json:"buffdurationformula"`
	//[17] buffduration                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [65]
	Buffduration int32 `gorm:"column:buffduration;type:int;default:65;" json:"buffduration"`
	//[18] AEDuration                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	AEDuration int32 `gorm:"column:AEDuration;type:int;default:0;" json:"ae_duration"`
	//[19] mana                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Mana int32 `gorm:"column:mana;type:int;default:0;" json:"mana"`
	//[20] effect_base_value1                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	EffectBaseValue1 int32 `gorm:"column:effect_base_value1;type:int;default:100;" json:"effect_base_value_1"`
	//[21] effect_base_value2                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue2 int32 `gorm:"column:effect_base_value2;type:int;default:0;" json:"effect_base_value_2"`
	//[22] effect_base_value3                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue3 int32 `gorm:"column:effect_base_value3;type:int;default:0;" json:"effect_base_value_3"`
	//[23] effect_base_value4                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue4 int32 `gorm:"column:effect_base_value4;type:int;default:0;" json:"effect_base_value_4"`
	//[24] effect_base_value5                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue5 int32 `gorm:"column:effect_base_value5;type:int;default:0;" json:"effect_base_value_5"`
	//[25] effect_base_value6                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue6 int32 `gorm:"column:effect_base_value6;type:int;default:0;" json:"effect_base_value_6"`
	//[26] effect_base_value7                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue7 int32 `gorm:"column:effect_base_value7;type:int;default:0;" json:"effect_base_value_7"`
	//[27] effect_base_value8                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue8 int32 `gorm:"column:effect_base_value8;type:int;default:0;" json:"effect_base_value_8"`
	//[28] effect_base_value9                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue9 int32 `gorm:"column:effect_base_value9;type:int;default:0;" json:"effect_base_value_9"`
	//[29] effect_base_value10                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue10 int32 `gorm:"column:effect_base_value10;type:int;default:0;" json:"effect_base_value_10"`
	//[30] effect_base_value11                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue11 int32 `gorm:"column:effect_base_value11;type:int;default:0;" json:"effect_base_value_11"`
	//[31] effect_base_value12                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectBaseValue12 int32 `gorm:"column:effect_base_value12;type:int;default:0;" json:"effect_base_value_12"`
	//[32] effect_limit_value1                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue1 int32 `gorm:"column:effect_limit_value1;type:int;default:0;" json:"effect_limit_value_1"`
	//[33] effect_limit_value2                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue2 int32 `gorm:"column:effect_limit_value2;type:int;default:0;" json:"effect_limit_value_2"`
	//[34] effect_limit_value3                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue3 int32 `gorm:"column:effect_limit_value3;type:int;default:0;" json:"effect_limit_value_3"`
	//[35] effect_limit_value4                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue4 int32 `gorm:"column:effect_limit_value4;type:int;default:0;" json:"effect_limit_value_4"`
	//[36] effect_limit_value5                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue5 int32 `gorm:"column:effect_limit_value5;type:int;default:0;" json:"effect_limit_value_5"`
	//[37] effect_limit_value6                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue6 int32 `gorm:"column:effect_limit_value6;type:int;default:0;" json:"effect_limit_value_6"`
	//[38] effect_limit_value7                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue7 int32 `gorm:"column:effect_limit_value7;type:int;default:0;" json:"effect_limit_value_7"`
	//[39] effect_limit_value8                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue8 int32 `gorm:"column:effect_limit_value8;type:int;default:0;" json:"effect_limit_value_8"`
	//[40] effect_limit_value9                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue9 int32 `gorm:"column:effect_limit_value9;type:int;default:0;" json:"effect_limit_value_9"`
	//[41] effect_limit_value10                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue10 int32 `gorm:"column:effect_limit_value10;type:int;default:0;" json:"effect_limit_value_10"`
	//[42] effect_limit_value11                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue11 int32 `gorm:"column:effect_limit_value11;type:int;default:0;" json:"effect_limit_value_11"`
	//[43] effect_limit_value12                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EffectLimitValue12 int32 `gorm:"column:effect_limit_value12;type:int;default:0;" json:"effect_limit_value_12"`
	//[44] max1                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max1 int32 `gorm:"column:max1;type:int;default:0;" json:"max_1"`
	//[45] max2                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max2 int32 `gorm:"column:max2;type:int;default:0;" json:"max_2"`
	//[46] max3                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max3 int32 `gorm:"column:max3;type:int;default:0;" json:"max_3"`
	//[47] max4                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max4 int32 `gorm:"column:max4;type:int;default:0;" json:"max_4"`
	//[48] max5                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max5 int32 `gorm:"column:max5;type:int;default:0;" json:"max_5"`
	//[49] max6                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max6 int32 `gorm:"column:max6;type:int;default:0;" json:"max_6"`
	//[50] max7                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max7 int32 `gorm:"column:max7;type:int;default:0;" json:"max_7"`
	//[51] max8                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max8 int32 `gorm:"column:max8;type:int;default:0;" json:"max_8"`
	//[52] max9                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max9 int32 `gorm:"column:max9;type:int;default:0;" json:"max_9"`
	//[53] max10                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max10 int32 `gorm:"column:max10;type:int;default:0;" json:"max_10"`
	//[54] max11                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max11 int32 `gorm:"column:max11;type:int;default:0;" json:"max_11"`
	//[55] max12                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Max12 int32 `gorm:"column:max12;type:int;default:0;" json:"max_12"`
	//[56] icon                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Icon int32 `gorm:"column:icon;type:int;default:0;" json:"icon"`
	//[57] memicon                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Memicon int32 `gorm:"column:memicon;type:int;default:0;" json:"memicon"`
	//[58] components1                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Components1 int32 `gorm:"column:components1;type:int;default:-1;" json:"components_1"`
	//[59] components2                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Components2 int32 `gorm:"column:components2;type:int;default:-1;" json:"components_2"`
	//[60] components3                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Components3 int32 `gorm:"column:components3;type:int;default:-1;" json:"components_3"`
	//[61] components4                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Components4 int32 `gorm:"column:components4;type:int;default:-1;" json:"components_4"`
	//[62] component_counts1                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	ComponentCounts1 int32 `gorm:"column:component_counts1;type:int;default:1;" json:"component_counts_1"`
	//[63] component_counts2                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	ComponentCounts2 int32 `gorm:"column:component_counts2;type:int;default:1;" json:"component_counts_2"`
	//[64] component_counts3                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	ComponentCounts3 int32 `gorm:"column:component_counts3;type:int;default:1;" json:"component_counts_3"`
	//[65] component_counts4                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	ComponentCounts4 int32 `gorm:"column:component_counts4;type:int;default:1;" json:"component_counts_4"`
	//[66] NoexpendReagent1                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NoexpendReagent1 int32 `gorm:"column:NoexpendReagent1;type:int;default:-1;" json:"noexpend_reagent_1"`
	//[67] NoexpendReagent2                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NoexpendReagent2 int32 `gorm:"column:NoexpendReagent2;type:int;default:-1;" json:"noexpend_reagent_2"`
	//[68] NoexpendReagent3                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NoexpendReagent3 int32 `gorm:"column:NoexpendReagent3;type:int;default:-1;" json:"noexpend_reagent_3"`
	//[69] NoexpendReagent4                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	NoexpendReagent4 int32 `gorm:"column:NoexpendReagent4;type:int;default:-1;" json:"noexpend_reagent_4"`
	//[70] formula1                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula1 int32 `gorm:"column:formula1;type:int;default:100;" json:"formula_1"`
	//[71] formula2                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula2 int32 `gorm:"column:formula2;type:int;default:100;" json:"formula_2"`
	//[72] formula3                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula3 int32 `gorm:"column:formula3;type:int;default:100;" json:"formula_3"`
	//[73] formula4                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula4 int32 `gorm:"column:formula4;type:int;default:100;" json:"formula_4"`
	//[74] formula5                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula5 int32 `gorm:"column:formula5;type:int;default:100;" json:"formula_5"`
	//[75] formula6                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula6 int32 `gorm:"column:formula6;type:int;default:100;" json:"formula_6"`
	//[76] formula7                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula7 int32 `gorm:"column:formula7;type:int;default:100;" json:"formula_7"`
	//[77] formula8                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula8 int32 `gorm:"column:formula8;type:int;default:100;" json:"formula_8"`
	//[78] formula9                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula9 int32 `gorm:"column:formula9;type:int;default:100;" json:"formula_9"`
	//[79] formula10                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula10 int32 `gorm:"column:formula10;type:int;default:100;" json:"formula_10"`
	//[80] formula11                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula11 int32 `gorm:"column:formula11;type:int;default:100;" json:"formula_11"`
	//[81] formula12                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Formula12 int32 `gorm:"column:formula12;type:int;default:100;" json:"formula_12"`
	//[82] LightType                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	LightType int32 `gorm:"column:LightType;type:int;default:0;" json:"light_type"`
	//[83] goodEffect                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	GoodEffect int32 `gorm:"column:goodEffect;type:int;default:0;" json:"good_effect"`
	//[84] Activated                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Activated int32 `gorm:"column:Activated;type:int;default:0;" json:"activated"`
	//[85] resisttype                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Resisttype int32 `gorm:"column:resisttype;type:int;default:0;" json:"resisttype"`
	//[86] effectid1                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid1 int32 `gorm:"column:effectid1;type:int;default:254;" json:"effectid_1"`
	//[87] effectid2                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid2 int32 `gorm:"column:effectid2;type:int;default:254;" json:"effectid_2"`
	//[88] effectid3                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid3 int32 `gorm:"column:effectid3;type:int;default:254;" json:"effectid_3"`
	//[89] effectid4                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid4 int32 `gorm:"column:effectid4;type:int;default:254;" json:"effectid_4"`
	//[90] effectid5                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid5 int32 `gorm:"column:effectid5;type:int;default:254;" json:"effectid_5"`
	//[91] effectid6                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid6 int32 `gorm:"column:effectid6;type:int;default:254;" json:"effectid_6"`
	//[92] effectid7                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid7 int32 `gorm:"column:effectid7;type:int;default:254;" json:"effectid_7"`
	//[93] effectid8                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid8 int32 `gorm:"column:effectid8;type:int;default:254;" json:"effectid_8"`
	//[94] effectid9                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid9 int32 `gorm:"column:effectid9;type:int;default:254;" json:"effectid_9"`
	//[95] effectid10                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid10 int32 `gorm:"column:effectid10;type:int;default:254;" json:"effectid_10"`
	//[96] effectid11                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid11 int32 `gorm:"column:effectid11;type:int;default:254;" json:"effectid_11"`
	//[97] effectid12                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [254]
	Effectid12 int32 `gorm:"column:effectid12;type:int;default:254;" json:"effectid_12"`
	//[98] targettype                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [2]
	Targettype int32 `gorm:"column:targettype;type:int;default:2;" json:"targettype"`
	//[99] basediff                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Basediff int32 `gorm:"column:basediff;type:int;default:0;" json:"basediff"`
	//[100] skill                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [98]
	Skill int32 `gorm:"column:skill;type:int;default:98;" json:"skill"`
	//[101] zonetype                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Zonetype int32 `gorm:"column:zonetype;type:int;default:-1;" json:"zonetype"`
	//[102] EnvironmentType                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EnvironmentType int32 `gorm:"column:EnvironmentType;type:int;default:0;" json:"environment_type"`
	//[103] TimeOfDay                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	TimeOfDay int32 `gorm:"column:TimeOfDay;type:int;default:0;" json:"time_of_day"`
	//[104] classes1                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes1 int32 `gorm:"column:classes1;type:int;default:255;" json:"classes_1"`
	//[105] classes2                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes2 int32 `gorm:"column:classes2;type:int;default:255;" json:"classes_2"`
	//[106] classes3                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes3 int32 `gorm:"column:classes3;type:int;default:255;" json:"classes_3"`
	//[107] classes4                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes4 int32 `gorm:"column:classes4;type:int;default:255;" json:"classes_4"`
	//[108] classes5                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes5 int32 `gorm:"column:classes5;type:int;default:255;" json:"classes_5"`
	//[109] classes6                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes6 int32 `gorm:"column:classes6;type:int;default:255;" json:"classes_6"`
	//[110] classes7                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes7 int32 `gorm:"column:classes7;type:int;default:255;" json:"classes_7"`
	//[111] classes8                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes8 int32 `gorm:"column:classes8;type:int;default:255;" json:"classes_8"`
	//[112] classes9                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes9 int32 `gorm:"column:classes9;type:int;default:255;" json:"classes_9"`
	//[113] classes10                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes10 int32 `gorm:"column:classes10;type:int;default:255;" json:"classes_10"`
	//[114] classes11                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes11 int32 `gorm:"column:classes11;type:int;default:255;" json:"classes_11"`
	//[115] classes12                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes12 int32 `gorm:"column:classes12;type:int;default:255;" json:"classes_12"`
	//[116] classes13                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes13 int32 `gorm:"column:classes13;type:int;default:255;" json:"classes_13"`
	//[117] classes14                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes14 int32 `gorm:"column:classes14;type:int;default:255;" json:"classes_14"`
	//[118] classes15                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes15 int32 `gorm:"column:classes15;type:int;default:255;" json:"classes_15"`
	//[119] classes16                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [255]
	Classes16 int32 `gorm:"column:classes16;type:int;default:255;" json:"classes_16"`
	//[120] CastingAnim                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [44]
	CastingAnim int32 `gorm:"column:CastingAnim;type:int;default:44;" json:"casting_anim"`
	//[121] TargetAnim                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [13]
	TargetAnim int32 `gorm:"column:TargetAnim;type:int;default:13;" json:"target_anim"`
	//[122] TravelType                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	TravelType int32 `gorm:"column:TravelType;type:int;default:0;" json:"travel_type"`
	//[123] SpellAffectIndex                               int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	SpellAffectIndex int32 `gorm:"column:SpellAffectIndex;type:int;default:-1;" json:"spell_affect_index"`
	//[124] disallow_sit                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DisallowSit int32 `gorm:"column:disallow_sit;type:int;default:0;" json:"disallow_sit"`
	//[125] deities0                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities0 int32 `gorm:"column:deities0;type:int;default:0;" json:"deities_0"`
	//[126] deities1                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities1 int32 `gorm:"column:deities1;type:int;default:0;" json:"deities_1"`
	//[127] deities2                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities2 int32 `gorm:"column:deities2;type:int;default:0;" json:"deities_2"`
	//[128] deities3                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities3 int32 `gorm:"column:deities3;type:int;default:0;" json:"deities_3"`
	//[129] deities4                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities4 int32 `gorm:"column:deities4;type:int;default:0;" json:"deities_4"`
	//[130] deities5                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities5 int32 `gorm:"column:deities5;type:int;default:0;" json:"deities_5"`
	//[131] deities6                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities6 int32 `gorm:"column:deities6;type:int;default:0;" json:"deities_6"`
	//[132] deities7                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities7 int32 `gorm:"column:deities7;type:int;default:0;" json:"deities_7"`
	//[133] deities8                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities8 int32 `gorm:"column:deities8;type:int;default:0;" json:"deities_8"`
	//[134] deities9                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities9 int32 `gorm:"column:deities9;type:int;default:0;" json:"deities_9"`
	//[135] deities10                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities10 int32 `gorm:"column:deities10;type:int;default:0;" json:"deities_10"`
	//[136] deities11                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities11 int32 `gorm:"column:deities11;type:int;default:0;" json:"deities_11"`
	//[137] deities12                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities12 int32 `gorm:"column:deities12;type:int;default:0;" json:"deities_12"`
	//[138] deities13                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities13 int32 `gorm:"column:deities13;type:int;default:0;" json:"deities_13"`
	//[139] deities14                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities14 int32 `gorm:"column:deities14;type:int;default:0;" json:"deities_14"`
	//[140] deities15                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities15 int32 `gorm:"column:deities15;type:int;default:0;" json:"deities_15"`
	//[141] deities16                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deities16 int32 `gorm:"column:deities16;type:int;default:0;" json:"deities_16"`
	//[142] field142                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Field142 int32 `gorm:"column:field142;type:int;default:100;" json:"field_142"`
	//[143] field143                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field143 int32 `gorm:"column:field143;type:int;default:0;" json:"field_143"`
	//[144] new_icon                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [161]
	NewIcon int32 `gorm:"column:new_icon;type:int;default:161;" json:"new_icon"`
	//[145] spellanim                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Spellanim int32 `gorm:"column:spellanim;type:int;default:0;" json:"spellanim"`
	//[146] uninterruptable                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Uninterruptable int32 `gorm:"column:uninterruptable;type:int;default:0;" json:"uninterruptable"`
	//[147] ResistDiff                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-150]
	ResistDiff int32 `gorm:"column:ResistDiff;type:int;default:-150;" json:"resist_diff"`
	//[148] dot_stacking_exempt                            int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	DotStackingExempt int32 `gorm:"column:dot_stacking_exempt;type:int;default:0;" json:"dot_stacking_exempt"`
	//[149] deleteable                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deleteable int32 `gorm:"column:deleteable;type:int;default:0;" json:"deleteable"`
	//[150] RecourseLink                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RecourseLink int32 `gorm:"column:RecourseLink;type:int;default:0;" json:"recourse_link"`
	//[151] no_partial_resist                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NoPartialResist int32 `gorm:"column:no_partial_resist;type:int;default:0;" json:"no_partial_resist"`
	//[152] field152                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field152 int32 `gorm:"column:field152;type:int;default:0;" json:"field_152"`
	//[153] field153                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field153 int32 `gorm:"column:field153;type:int;default:0;" json:"field_153"`
	//[154] short_buff_box                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	ShortBuffBox int32 `gorm:"column:short_buff_box;type:int;default:-1;" json:"short_buff_box"`
	//[155] descnum                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Descnum int32 `gorm:"column:descnum;type:int;default:0;" json:"descnum"`
	//[156] typedescnum                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Typedescnum null.Int `gorm:"column:typedescnum;type:int;" json:"typedescnum"`
	//[157] effectdescnum                                  int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [NULL]
	Effectdescnum null.Int `gorm:"column:effectdescnum;type:int;" json:"effectdescnum"`
	//[158] effectdescnum2                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Effectdescnum2 int32 `gorm:"column:effectdescnum2;type:int;default:0;" json:"effectdescnum_2"`
	//[159] npc_no_los                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcNoLos int32 `gorm:"column:npc_no_los;type:int;default:0;" json:"npc_no_los"`
	//[160] field160                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field160 int32 `gorm:"column:field160;type:int;default:0;" json:"field_160"`
	//[161] reflectable                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Reflectable int32 `gorm:"column:reflectable;type:int;default:0;" json:"reflectable"`
	//[162] bonushate                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Bonushate int32 `gorm:"column:bonushate;type:int;default:0;" json:"bonushate"`
	//[163] field163                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Field163 int32 `gorm:"column:field163;type:int;default:100;" json:"field_163"`
	//[164] field164                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-150]
	Field164 int32 `gorm:"column:field164;type:int;default:-150;" json:"field_164"`
	//[165] ldon_trap                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	LdonTrap int32 `gorm:"column:ldon_trap;type:int;default:0;" json:"ldon_trap"`
	//[166] EndurCost                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EndurCost int32 `gorm:"column:EndurCost;type:int;default:0;" json:"endur_cost"`
	//[167] EndurTimerIndex                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EndurTimerIndex int32 `gorm:"column:EndurTimerIndex;type:int;default:0;" json:"endur_timer_index"`
	//[168] IsDiscipline                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	IsDiscipline int32 `gorm:"column:IsDiscipline;type:int;default:0;" json:"is_discipline"`
	//[169] field169                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field169 int32 `gorm:"column:field169;type:int;default:0;" json:"field_169"`
	//[170] field170                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field170 int32 `gorm:"column:field170;type:int;default:0;" json:"field_170"`
	//[171] field171                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field171 int32 `gorm:"column:field171;type:int;default:0;" json:"field_171"`
	//[172] field172                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field172 int32 `gorm:"column:field172;type:int;default:0;" json:"field_172"`
	//[173] HateAdded                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	HateAdded int32 `gorm:"column:HateAdded;type:int;default:0;" json:"hate_added"`
	//[174] EndurUpkeep                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	EndurUpkeep int32 `gorm:"column:EndurUpkeep;type:int;default:0;" json:"endur_upkeep"`
	//[175] numhitstype                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Numhitstype int32 `gorm:"column:numhitstype;type:int;default:0;" json:"numhitstype"`
	//[176] numhits                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Numhits int32 `gorm:"column:numhits;type:int;default:0;" json:"numhits"`
	//[177] pvpresistbase                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-150]
	Pvpresistbase int32 `gorm:"column:pvpresistbase;type:int;default:-150;" json:"pvpresistbase"`
	//[178] pvpresistcalc                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [100]
	Pvpresistcalc int32 `gorm:"column:pvpresistcalc;type:int;default:100;" json:"pvpresistcalc"`
	//[179] pvpresistcap                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-150]
	Pvpresistcap int32 `gorm:"column:pvpresistcap;type:int;default:-150;" json:"pvpresistcap"`
	//[180] spell_category                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-99]
	SpellCategory int32 `gorm:"column:spell_category;type:int;default:-99;" json:"spell_category"`
	//[181] field181                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [7]
	Field181 int32 `gorm:"column:field181;type:int;default:7;" json:"field_181"`
	//[182] field182                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [65]
	Field182 int32 `gorm:"column:field182;type:int;default:65;" json:"field_182"`
	//[183] pcnpc_only_flag                                int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	PcnpcOnlyFlag null.Int `gorm:"column:pcnpc_only_flag;type:int;default:0;" json:"pcnpc_only_flag"`
	//[184] cast_not_standing                              int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastNotStanding null.Int `gorm:"column:cast_not_standing;type:int;default:0;" json:"cast_not_standing"`
	//[185] can_mgb                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CanMgb int32 `gorm:"column:can_mgb;type:int;default:0;" json:"can_mgb"`
	//[186] nodispell                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Nodispell int32 `gorm:"column:nodispell;type:int;default:-1;" json:"nodispell"`
	//[187] npc_category                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcCategory int32 `gorm:"column:npc_category;type:int;default:0;" json:"npc_category"`
	//[188] npc_usefulness                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NpcUsefulness int32 `gorm:"column:npc_usefulness;type:int;default:0;" json:"npc_usefulness"`
	//[189] MinResist                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MinResist int32 `gorm:"column:MinResist;type:int;default:0;" json:"min_resist"`
	//[190] MaxResist                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MaxResist int32 `gorm:"column:MaxResist;type:int;default:0;" json:"max_resist"`
	//[191] viral_targets                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ViralTargets int32 `gorm:"column:viral_targets;type:int;default:0;" json:"viral_targets"`
	//[192] viral_timer                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ViralTimer int32 `gorm:"column:viral_timer;type:int;default:0;" json:"viral_timer"`
	//[193] nimbuseffect                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Nimbuseffect null.Int `gorm:"column:nimbuseffect;type:int;default:0;" json:"nimbuseffect"`
	//[194] ConeStartAngle                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ConeStartAngle int32 `gorm:"column:ConeStartAngle;type:int;default:0;" json:"cone_start_angle"`
	//[195] ConeStopAngle                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ConeStopAngle int32 `gorm:"column:ConeStopAngle;type:int;default:0;" json:"cone_stop_angle"`
	//[196] sneaking                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Sneaking int32 `gorm:"column:sneaking;type:int;default:0;" json:"sneaking"`
	//[197] not_extendable                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NotExtendable int32 `gorm:"column:not_extendable;type:int;default:0;" json:"not_extendable"`
	//[198] field198                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field198 int32 `gorm:"column:field198;type:int;default:0;" json:"field_198"`
	//[199] field199                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Field199 int32 `gorm:"column:field199;type:int;default:1;" json:"field_199"`
	//[200] suspendable                                    int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Suspendable null.Int `gorm:"column:suspendable;type:int;default:0;" json:"suspendable"`
	//[201] viral_range                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ViralRange int32 `gorm:"column:viral_range;type:int;default:0;" json:"viral_range"`
	//[202] songcap                                        int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Songcap null.Int `gorm:"column:songcap;type:int;default:0;" json:"songcap"`
	//[203] field203                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field203 null.Int `gorm:"column:field203;type:int;default:0;" json:"field_203"`
	//[204] field204                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field204 null.Int `gorm:"column:field204;type:int;default:0;" json:"field_204"`
	//[205] no_block                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	NoBlock int32 `gorm:"column:no_block;type:int;default:0;" json:"no_block"`
	//[206] field206                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Field206 null.Int `gorm:"column:field206;type:int;default:-1;" json:"field_206"`
	//[207] spellgroup                                     int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Spellgroup null.Int `gorm:"column:spellgroup;type:int;default:0;" json:"spellgroup"`
	//[208] rank                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Rank int32 `gorm:"column:rank;type:int;default:0;" json:"rank"`
	//[209] field209                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field209 null.Int `gorm:"column:field209;type:int;default:0;" json:"field_209"`
	//[210] field210                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Field210 null.Int `gorm:"column:field210;type:int;default:1;" json:"field_210"`
	//[211] CastRestriction                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	CastRestriction int32 `gorm:"column:CastRestriction;type:int;default:0;" json:"cast_restriction"`
	//[212] allowrest                                      int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Allowrest null.Int `gorm:"column:allowrest;type:int;default:0;" json:"allowrest"`
	//[213] InCombat                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	InCombat int32 `gorm:"column:InCombat;type:int;default:0;" json:"in_combat"`
	//[214] OutofCombat                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	OutofCombat int32 `gorm:"column:OutofCombat;type:int;default:0;" json:"outof_combat"`
	//[215] field215                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field215 null.Int `gorm:"column:field215;type:int;default:0;" json:"field_215"`
	//[216] field216                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field216 null.Int `gorm:"column:field216;type:int;default:0;" json:"field_216"`
	//[217] field217                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field217 null.Int `gorm:"column:field217;type:int;default:0;" json:"field_217"`
	//[218] aemaxtargets                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Aemaxtargets int32 `gorm:"column:aemaxtargets;type:int;default:0;" json:"aemaxtargets"`
	//[219] maxtargets                                     int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Maxtargets null.Int `gorm:"column:maxtargets;type:int;default:0;" json:"maxtargets"`
	//[220] field220                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field220 null.Int `gorm:"column:field220;type:int;default:0;" json:"field_220"`
	//[221] field221                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field221 null.Int `gorm:"column:field221;type:int;default:0;" json:"field_221"`
	//[222] field222                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field222 null.Int `gorm:"column:field222;type:int;default:0;" json:"field_222"`
	//[223] field223                                       int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field223 null.Int `gorm:"column:field223;type:int;default:0;" json:"field_223"`
	//[224] persistdeath                                   int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Persistdeath null.Int `gorm:"column:persistdeath;type:int;default:0;" json:"persistdeath"`
	//[225] field225                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field225 int32 `gorm:"column:field225;type:int;default:0;" json:"field_225"`
	//[226] field226                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field226 int32 `gorm:"column:field226;type:int;default:0;" json:"field_226"`
	//[227] min_dist                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MinDist float32 `gorm:"column:min_dist;type:float;default:0;" json:"min_dist"`
	//[228] min_dist_mod                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MinDistMod float32 `gorm:"column:min_dist_mod;type:float;default:0;" json:"min_dist_mod"`
	//[229] max_dist                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MaxDist float32 `gorm:"column:max_dist;type:float;default:0;" json:"max_dist"`
	//[230] max_dist_mod                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	MaxDistMod float32 `gorm:"column:max_dist_mod;type:float;default:0;" json:"max_dist_mod"`
	//[231] min_range                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	MinRange int32 `gorm:"column:min_range;type:int;default:0;" json:"min_range"`
	//[232] field232                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field232 int32 `gorm:"column:field232;type:int;default:0;" json:"field_232"`
	//[233] field233                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field233 int32 `gorm:"column:field233;type:int;default:0;" json:"field_233"`
	//[234] field234                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field234 int32 `gorm:"column:field234;type:int;default:0;" json:"field_234"`
	//[235] field235                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field235 int32 `gorm:"column:field235;type:int;default:0;" json:"field_235"`
	//[236] field236                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Field236 int32 `gorm:"column:field236;type:int;default:0;" json:"field_236"`
}

SpellsNew struct is a row record of the spells_new table in the eqemu database

func (*SpellsNew) BeforeSave

func (s *SpellsNew) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*SpellsNew) Prepare

func (s *SpellsNew) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*SpellsNew) Summary

func (s *SpellsNew) Summary() string

Summary returns a one line summary of a spell

func (*SpellsNew) TableInfo

func (s *SpellsNew) TableInfo() *TableInfo

TableInfo return table meta data

func (*SpellsNew) TableName

func (s *SpellsNew) TableName() string

TableName sets the insert table name for this struct type

func (*SpellsNew) Validate

func (s *SpellsNew) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type StartZones

type StartZones struct {
	//[ 0] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 1] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 2] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 3] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 4] zone_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ZoneID int32 `gorm:"column:zone_id;type:int;default:0;" json:"zone_id"`
	//[ 5] bind_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	BindID int32 `gorm:"column:bind_id;type:int;default:0;" json:"bind_id"`
	//[ 6] player_choice                                  int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	PlayerChoice int32 `gorm:"primary_key;column:player_choice;type:int;default:0;" json:"player_choice"`
	//[ 7] player_class                                   int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	PlayerClass int32 `gorm:"primary_key;column:player_class;type:int;default:0;" json:"player_class"`
	//[ 8] player_deity                                   int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	PlayerDeity int32 `gorm:"primary_key;column:player_deity;type:int;default:0;" json:"player_deity"`
	//[ 9] player_race                                    int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	PlayerRace int32 `gorm:"primary_key;column:player_race;type:int;default:0;" json:"player_race"`
	//[10] start_zone                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	StartZone int32 `gorm:"column:start_zone;type:int;default:0;" json:"start_zone"`
	//[11] bind_x                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	BindX float32 `gorm:"column:bind_x;type:float;default:0;" json:"bind_x"`
	//[12] bind_y                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	BindY float32 `gorm:"column:bind_y;type:float;default:0;" json:"bind_y"`
	//[13] bind_z                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	BindZ float32 `gorm:"column:bind_z;type:float;default:0;" json:"bind_z"`
	//[14] select_rank                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [50]
	SelectRank uint32 `gorm:"column:select_rank;type:utinyint;default:50;" json:"select_rank"`
	//[15] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[16] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[17] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[18] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

StartZones struct is a row record of the start_zones table in the eqemu database

func (*StartZones) BeforeSave

func (s *StartZones) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*StartZones) Prepare

func (s *StartZones) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*StartZones) TableInfo

func (s *StartZones) TableInfo() *TableInfo

TableInfo return table meta data

func (*StartZones) TableName

func (s *StartZones) TableName() string

TableName sets the insert table name for this struct type

func (*StartZones) Validate

func (s *StartZones) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type StartingItems

type StartingItems struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] race                                           int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	Race int32 `gorm:"primary_key;column:race;type:int;default:0;" json:"race"`
	//[ 2] class                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Class int32 `gorm:"column:class;type:int;default:0;" json:"class"`
	//[ 3] deityid                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Deityid int32 `gorm:"column:deityid;type:int;default:0;" json:"deityid"`
	//[ 4] zoneid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneid int32 `gorm:"column:zoneid;type:int;default:0;" json:"zoneid"`
	//[ 5] itemid                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Itemid int32 `gorm:"column:itemid;type:int;default:0;" json:"itemid"`
	//[ 6] item_charges                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	ItemCharges uint32 `gorm:"column:item_charges;type:utinyint;default:1;" json:"item_charges"`
	//[ 7] gm                                             tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Gm int32 `gorm:"column:gm;type:tinyint;default:0;" json:"gm"`
	//[ 8] slot                                           mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [-1]
	Slot int32 `gorm:"column:slot;type:mediumint;default:-1;" json:"slot"`
	//[ 9] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[10] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[11] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[12] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

StartingItems struct is a row record of the starting_items table in the eqemu database

func (*StartingItems) BeforeSave

func (s *StartingItems) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*StartingItems) Prepare

func (s *StartingItems) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*StartingItems) TableInfo

func (s *StartingItems) TableInfo() *TableInfo

TableInfo return table meta data

func (*StartingItems) TableName

func (s *StartingItems) TableName() string

TableName sets the insert table name for this struct type

func (*StartingItems) Validate

func (s *StartingItems) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type TableInfo

type TableInfo struct {
	Name    string        `json:"name"`
	Columns []*ColumnInfo `json:"columns"`
}

TableInfo describes a table in the database

func GetTableInfo

func GetTableInfo(name string) (*TableInfo, bool)

GetTableInfo retrieve TableInfo for a table

type TaskActivities

type TaskActivities struct {
	//[ 0] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
	//[ 1] activityid                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Activityid uint32 `gorm:"primary_key;column:activityid;type:uint;default:0;" json:"activityid"`
	//[ 2] step                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Step uint32 `gorm:"column:step;type:uint;default:0;" json:"step"`
	//[ 3] activitytype                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Activitytype uint32 `gorm:"column:activitytype;type:utinyint;default:0;" json:"activitytype"`
	//[ 4] target_name                                    varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	TargetName string `gorm:"column:target_name;type:varchar;size:64;default:'';" json:"target_name"`
	//[ 5] item_list                                      varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	ItemList string `gorm:"column:item_list;type:varchar;size:128;default:'';" json:"item_list"`
	//[ 6] skill_list                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['-1']
	SkillList string `gorm:"column:skill_list;type:varchar;size:64;default:'-1';" json:"skill_list"`
	//[ 7] spell_list                                     varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: ['0']
	SpellList string `gorm:"column:spell_list;type:varchar;size:64;default:'0';" json:"spell_list"`
	//[ 8] description_override                           varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	DescriptionOverride string `gorm:"column:description_override;type:varchar;size:128;default:'';" json:"description_override"`
	//[ 9] goalid                                         uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Goalid uint32 `gorm:"column:goalid;type:uint;default:0;" json:"goalid"`
	//[10] goalmethod                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Goalmethod uint32 `gorm:"column:goalmethod;type:uint;default:0;" json:"goalmethod"`
	//[11] goalcount                                      int                  null: true   primary: false  isArray: false  auto: false  col: int             len: -1      default: [1]
	Goalcount null.Int `gorm:"column:goalcount;type:int;default:1;" json:"goalcount"`
	//[12] delivertonpc                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Delivertonpc uint32 `gorm:"column:delivertonpc;type:uint;default:0;" json:"delivertonpc"`
	//[13] zones                                          varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Zones string `gorm:"column:zones;type:varchar;size:64;default:'';" json:"zones"`
	//[14] optional                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Optional int32 `gorm:"column:optional;type:tinyint;default:0;" json:"optional"`
}

TaskActivities struct is a row record of the task_activities table in the eqemu database

func (*TaskActivities) BeforeSave

func (t *TaskActivities) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*TaskActivities) Prepare

func (t *TaskActivities) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*TaskActivities) TableInfo

func (t *TaskActivities) TableInfo() *TableInfo

TableInfo return table meta data

func (*TaskActivities) TableName

func (t *TaskActivities) TableName() string

TableName sets the insert table name for this struct type

func (*TaskActivities) Validate

func (t *TaskActivities) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Tasks

type Tasks struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] type                                           tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Type int32 `gorm:"column:type;type:tinyint;default:0;" json:"type"`
	//[ 2] duration                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Duration uint32 `gorm:"column:duration;type:uint;default:0;" json:"duration"`
	//[ 3] duration_code                                  tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	DurationCode int32 `gorm:"column:duration_code;type:tinyint;default:0;" json:"duration_code"`
	//[ 4] title                                          varchar(100)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [”]
	Title string `gorm:"column:title;type:varchar;size:100;default:'';" json:"title"`
	//[ 5] description                                    text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Description string `gorm:"column:description;type:text;size:65535;" json:"description"`
	//[ 6] reward                                         varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Reward string `gorm:"column:reward;type:varchar;size:64;default:'';" json:"reward"`
	//[ 7] rewardid                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Rewardid uint32 `gorm:"column:rewardid;type:uint;default:0;" json:"rewardid"`
	//[ 8] cashreward                                     uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Cashreward uint32 `gorm:"column:cashreward;type:uint;default:0;" json:"cashreward"`
	//[ 9] xpreward                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Xpreward int32 `gorm:"column:xpreward;type:int;default:0;" json:"xpreward"`
	//[10] rewardmethod                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [2]
	Rewardmethod uint32 `gorm:"column:rewardmethod;type:utinyint;default:2;" json:"rewardmethod"`
	//[11] minlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Minlevel uint32 `gorm:"column:minlevel;type:utinyint;default:0;" json:"minlevel"`
	//[12] maxlevel                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Maxlevel uint32 `gorm:"column:maxlevel;type:utinyint;default:0;" json:"maxlevel"`
	//[13] repeatable                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Repeatable uint32 `gorm:"column:repeatable;type:utinyint;default:1;" json:"repeatable"`
	//[14] faction_reward                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	FactionReward int32 `gorm:"column:faction_reward;type:int;default:0;" json:"faction_reward"`
	//[15] completion_emote                               varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	CompletionEmote string `gorm:"column:completion_emote;type:varchar;size:128;default:'';" json:"completion_emote"`
}

Tasks struct is a row record of the tasks table in the eqemu database

func (*Tasks) BeforeSave

func (t *Tasks) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Tasks) Prepare

func (t *Tasks) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Tasks) TableInfo

func (t *Tasks) TableInfo() *TableInfo

TableInfo return table meta data

func (*Tasks) TableName

func (t *Tasks) TableName() string

TableName sets the insert table name for this struct type

func (*Tasks) Validate

func (t *Tasks) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Tasksets

type Tasksets struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] taskid                                         uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Taskid uint32 `gorm:"primary_key;column:taskid;type:uint;default:0;" json:"taskid"`
}

Tasksets struct is a row record of the tasksets table in the eqemu database

func (*Tasksets) BeforeSave

func (t *Tasksets) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Tasksets) Prepare

func (t *Tasksets) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Tasksets) TableInfo

func (t *Tasksets) TableInfo() *TableInfo

TableInfo return table meta data

func (*Tasksets) TableName

func (t *Tasksets) TableName() string

TableName sets the insert table name for this struct type

func (*Tasksets) Validate

func (t *Tasksets) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Timers

type Timers struct {
	//[ 0] char_id                                        int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:char_id;type:int;default:0;" json:"char_id"`
	//[ 1] type                                           umediumint           null: false  primary: true   isArray: false  auto: false  col: umediumint      len: -1      default: [0]
	Type uint32 `gorm:"primary_key;column:type;type:umediumint;default:0;" json:"type"`
	//[ 2] start                                          uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Start uint32 `gorm:"column:start;type:uint;default:0;" json:"start"`
	//[ 3] duration                                       uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Duration uint32 `gorm:"column:duration;type:uint;default:0;" json:"duration"`
	//[ 4] enable                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Enable int32 `gorm:"column:enable;type:tinyint;default:0;" json:"enable"`
}

Timers struct is a row record of the timers table in the eqemu database

func (*Timers) BeforeSave

func (t *Timers) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Timers) Prepare

func (t *Timers) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Timers) TableInfo

func (t *Timers) TableInfo() *TableInfo

TableInfo return table meta data

func (*Timers) TableName

func (t *Timers) TableName() string

TableName sets the insert table name for this struct type

func (*Timers) Validate

func (t *Timers) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Titles

type Titles struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: true   col: uint            len: -1      default: []
	ID uint32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:uint;" json:"id"`
	//[ 1] skill_id                                       tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [-1]
	SkillID int32 `gorm:"column:skill_id;type:tinyint;default:-1;" json:"skill_id"`
	//[ 2] min_skill_value                                mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [-1]
	MinSkillValue int32 `gorm:"column:min_skill_value;type:mediumint;default:-1;" json:"min_skill_value"`
	//[ 3] max_skill_value                                mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [-1]
	MaxSkillValue int32 `gorm:"column:max_skill_value;type:mediumint;default:-1;" json:"max_skill_value"`
	//[ 4] min_aa_points                                  mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [-1]
	MinAaPoints int32 `gorm:"column:min_aa_points;type:mediumint;default:-1;" json:"min_aa_points"`
	//[ 5] max_aa_points                                  mediumint            null: false  primary: false  isArray: false  auto: false  col: mediumint       len: -1      default: [-1]
	MaxAaPoints int32 `gorm:"column:max_aa_points;type:mediumint;default:-1;" json:"max_aa_points"`
	//[ 6] class                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [-1]
	Class int32 `gorm:"column:class;type:tinyint;default:-1;" json:"class"`
	//[ 7] gender                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [-1]
	Gender int32 `gorm:"column:gender;type:tinyint;default:-1;" json:"gender"` // -1 = either, 0 = male, 1 = female
	//[ 8] char_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	CharID int32 `gorm:"column:char_id;type:int;default:-1;" json:"char_id"`
	//[ 9] status                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	Status int32 `gorm:"column:status;type:int;default:-1;" json:"status"`
	//[10] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [-1]
	ItemID int32 `gorm:"column:item_id;type:int;default:-1;" json:"item_id"`
	//[11] prefix                                         varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Prefix string `gorm:"column:prefix;type:varchar;size:32;default:'';" json:"prefix"`
	//[12] suffix                                         varchar(32)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [”]
	Suffix string `gorm:"column:suffix;type:varchar;size:32;default:'';" json:"suffix"`
	//[13] title_set                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	TitleSet int32 `gorm:"column:title_set;type:int;default:0;" json:"title_set"`
}

Titles struct is a row record of the titles table in the eqemu database

func (*Titles) BeforeSave

func (t *Titles) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Titles) Prepare

func (t *Titles) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Titles) TableInfo

func (t *Titles) TableInfo() *TableInfo

TableInfo return table meta data

func (*Titles) TableName

func (t *Titles) TableName() string

TableName sets the insert table name for this struct type

func (*Titles) Validate

func (t *Titles) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Trader

type Trader struct {
	//[ 0] char_id                                        uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	CharID uint32 `gorm:"primary_key;column:char_id;type:uint;default:0;" json:"char_id"`
	//[ 1] item_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemID uint32 `gorm:"column:item_id;type:uint;default:0;" json:"item_id"`
	//[ 2] serialnumber                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Serialnumber uint32 `gorm:"column:serialnumber;type:uint;default:0;" json:"serialnumber"`
	//[ 3] charges                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Charges int32 `gorm:"column:charges;type:int;default:0;" json:"charges"`
	//[ 4] item_cost                                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemCost uint32 `gorm:"column:item_cost;type:uint;default:0;" json:"item_cost"`
	//[ 5] slot_id                                        utinyint             null: false  primary: true   isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	SlotID uint32 `gorm:"primary_key;column:slot_id;type:utinyint;default:0;" json:"slot_id"`
}

Trader struct is a row record of the trader table in the eqemu database

func (*Trader) BeforeSave

func (t *Trader) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Trader) Prepare

func (t *Trader) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Trader) TableInfo

func (t *Trader) TableInfo() *TableInfo

TableInfo return table meta data

func (*Trader) TableName

func (t *Trader) TableName() string

TableName sets the insert table name for this struct type

func (*Trader) Validate

func (t *Trader) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type TradeskillRecipe

type TradeskillRecipe struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: [”]
	Name string `gorm:"column:name;type:varchar;size:64;default:'';" json:"name"`
	//[ 2] tradeskill                                     smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Tradeskill int32 `gorm:"column:tradeskill;type:smallint;default:0;" json:"tradeskill"`
	//[ 3] skillneeded                                    smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Skillneeded int32 `gorm:"column:skillneeded;type:smallint;default:0;" json:"skillneeded"`
	//[ 4] trivial                                        smallint             null: false  primary: false  isArray: false  auto: false  col: smallint        len: -1      default: [0]
	Trivial int32 `gorm:"column:trivial;type:smallint;default:0;" json:"trivial"`
	//[ 5] nofail                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Nofail int32 `gorm:"column:nofail;type:tinyint;default:0;" json:"nofail"`
	//[ 6] replace_container                              tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	ReplaceContainer int32 `gorm:"column:replace_container;type:tinyint;default:0;" json:"replace_container"`
	//[ 7] notes                                          text(255)            null: true   primary: false  isArray: false  auto: false  col: text            len: 255     default: [NULL]
	Notes null.String `gorm:"column:notes;type:text;size:255;" json:"notes"`
	//[ 8] must_learn                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	MustLearn int32 `gorm:"column:must_learn;type:tinyint;default:0;" json:"must_learn"`
	//[ 9] quest                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Quest int32 `gorm:"column:quest;type:tinyint;default:0;" json:"quest"`
	//[10] enabled                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Enabled int32 `gorm:"column:enabled;type:tinyint;default:1;" json:"enabled"`
	//[11] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[12] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[13] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[14] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

TradeskillRecipe struct is a row record of the tradeskill_recipe table in the eqemu database

func (*TradeskillRecipe) BeforeSave

func (t *TradeskillRecipe) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*TradeskillRecipe) Prepare

func (t *TradeskillRecipe) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*TradeskillRecipe) TableInfo

func (t *TradeskillRecipe) TableInfo() *TableInfo

TableInfo return table meta data

func (*TradeskillRecipe) TableName

func (t *TradeskillRecipe) TableName() string

TableName sets the insert table name for this struct type

func (*TradeskillRecipe) Validate

func (t *TradeskillRecipe) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type TradeskillRecipeEntries

type TradeskillRecipeEntries struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] recipe_id                                      int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RecipeID int32 `gorm:"column:recipe_id;type:int;default:0;" json:"recipe_id"`
	//[ 2] item_id                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	ItemID int32 `gorm:"column:item_id;type:int;default:0;" json:"item_id"`
	//[ 3] successcount                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Successcount int32 `gorm:"column:successcount;type:tinyint;default:0;" json:"successcount"`
	//[ 4] failcount                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Failcount int32 `gorm:"column:failcount;type:tinyint;default:0;" json:"failcount"`
	//[ 5] componentcount                                 tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Componentcount int32 `gorm:"column:componentcount;type:tinyint;default:1;" json:"componentcount"`
	//[ 6] salvagecount                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Salvagecount int32 `gorm:"column:salvagecount;type:tinyint;default:0;" json:"salvagecount"`
	//[ 7] iscontainer                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Iscontainer int32 `gorm:"column:iscontainer;type:tinyint;default:0;" json:"iscontainer"`
}

TradeskillRecipeEntries struct is a row record of the tradeskill_recipe_entries table in the eqemu database

func (*TradeskillRecipeEntries) BeforeSave

func (t *TradeskillRecipeEntries) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*TradeskillRecipeEntries) Prepare

func (t *TradeskillRecipeEntries) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*TradeskillRecipeEntries) TableInfo

func (t *TradeskillRecipeEntries) TableInfo() *TableInfo

TableInfo return table meta data

func (*TradeskillRecipeEntries) TableName

func (t *TradeskillRecipeEntries) TableName() string

TableName sets the insert table name for this struct type

func (*TradeskillRecipeEntries) Validate

func (t *TradeskillRecipeEntries) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Traps

type Traps struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zone                                           varchar(16)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 16      default: [”]
	Zone string `gorm:"column:zone;type:varchar;size:16;default:'';" json:"zone"`
	//[ 2] version                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Version uint32 `gorm:"column:version;type:usmallint;default:0;" json:"version"`
	//[ 3] x                                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	X int32 `gorm:"column:x;type:int;default:0;" json:"x"`
	//[ 4] y                                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Y int32 `gorm:"column:y;type:int;default:0;" json:"y"`
	//[ 5] z                                              int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Z int32 `gorm:"column:z;type:int;default:0;" json:"z"`
	//[ 6] chance                                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Chance int32 `gorm:"column:chance;type:tinyint;default:0;" json:"chance"`
	//[ 7] maxzdiff                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Maxzdiff float32 `gorm:"column:maxzdiff;type:float;default:0;" json:"maxzdiff"`
	//[ 8] radius                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Radius float32 `gorm:"column:radius;type:float;default:0;" json:"radius"`
	//[ 9] effect                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Effect int32 `gorm:"column:effect;type:int;default:0;" json:"effect"`
	//[10] effectvalue                                    int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Effectvalue int32 `gorm:"column:effectvalue;type:int;default:0;" json:"effectvalue"`
	//[11] effectvalue2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Effectvalue2 int32 `gorm:"column:effectvalue2;type:int;default:0;" json:"effectvalue_2"`
	//[12] message                                        varchar(200)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 200     default: [”]
	Message string `gorm:"column:message;type:varchar;size:200;default:'';" json:"message"`
	//[13] skill                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Skill int32 `gorm:"column:skill;type:int;default:0;" json:"skill"`
	//[14] level                                          umediumint           null: false  primary: false  isArray: false  auto: false  col: umediumint      len: -1      default: [1]
	Level uint32 `gorm:"column:level;type:umediumint;default:1;" json:"level"`
	//[15] respawn_time                                   uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [60]
	RespawnTime uint32 `gorm:"column:respawn_time;type:uint;default:60;" json:"respawn_time"`
	//[16] respawn_var                                    uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	RespawnVar uint32 `gorm:"column:respawn_var;type:uint;default:0;" json:"respawn_var"`
	//[17] triggered_number                               tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	TriggeredNumber int32 `gorm:"column:triggered_number;type:tinyint;default:0;" json:"triggered_number"`
	//[18] group                                          tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Group int32 `gorm:"column:group;type:tinyint;default:0;" json:"group"`
	//[19] despawn_when_triggered                         tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	DespawnWhenTriggered int32 `gorm:"column:despawn_when_triggered;type:tinyint;default:0;" json:"despawn_when_triggered"`
	//[20] undetectable                                   tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Undetectable int32 `gorm:"column:undetectable;type:tinyint;default:0;" json:"undetectable"`
	//[21] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[22] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[23] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[24] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Traps struct is a row record of the traps table in the eqemu database

func (*Traps) BeforeSave

func (t *Traps) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Traps) Prepare

func (t *Traps) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Traps) TableInfo

func (t *Traps) TableInfo() *TableInfo

TableInfo return table meta data

func (*Traps) TableName

func (t *Traps) TableName() string

TableName sets the insert table name for this struct type

func (*Traps) Validate

func (t *Traps) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type TributeLevels

type TributeLevels struct {
	//[ 0] tribute_id                                     uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	TributeID uint32 `gorm:"primary_key;column:tribute_id;type:uint;default:0;" json:"tribute_id"`
	//[ 1] level                                          uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	Level uint32 `gorm:"primary_key;column:level;type:uint;default:0;" json:"level"`
	//[ 2] cost                                           uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Cost uint32 `gorm:"column:cost;type:uint;default:0;" json:"cost"`
	//[ 3] item_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	ItemID uint32 `gorm:"column:item_id;type:uint;default:0;" json:"item_id"`
}

TributeLevels struct is a row record of the tribute_levels table in the eqemu database

func (*TributeLevels) BeforeSave

func (t *TributeLevels) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*TributeLevels) Prepare

func (t *TributeLevels) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*TributeLevels) TableInfo

func (t *TributeLevels) TableInfo() *TableInfo

TableInfo return table meta data

func (*TributeLevels) TableName

func (t *TributeLevels) TableName() string

TableName sets the insert table name for this struct type

func (*TributeLevels) Validate

func (t *TributeLevels) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Tributes

type Tributes struct {
	//[ 0] id                                             uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: [0]
	ID uint32 `gorm:"primary_key;column:id;type:uint;default:0;" json:"id"`
	//[ 1] unknown                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Unknown uint32 `gorm:"column:unknown;type:uint;default:0;" json:"unknown"`
	//[ 2] name                                           varchar(255)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 255     default: [”]
	Name string `gorm:"column:name;type:varchar;size:255;default:'';" json:"name"`
	//[ 3] descr                                          text(16777215)       null: false  primary: false  isArray: false  auto: false  col: text            len: 16777215 default: []
	Descr string `gorm:"column:descr;type:text;size:16777215;" json:"descr"`
	//[ 4] isguild                                        tinyint              null: false  primary: true   isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Isguild int32 `gorm:"primary_key;column:isguild;type:tinyint;default:0;" json:"isguild"`
}

Tributes struct is a row record of the tributes table in the eqemu database

func (*Tributes) BeforeSave

func (t *Tributes) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Tributes) Prepare

func (t *Tributes) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Tributes) TableInfo

func (t *Tributes) TableInfo() *TableInfo

TableInfo return table meta data

func (*Tributes) TableName

func (t *Tributes) TableName() string

TableName sets the insert table name for this struct type

func (*Tributes) Validate

func (t *Tributes) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Variables

type Variables struct {
	//[ 0] varname                                        varchar(25)          null: false  primary: true   isArray: false  auto: false  col: varchar         len: 25      default: [”]
	Varname string `gorm:"primary_key;column:varname;type:varchar;size:25;default:'';" json:"varname"`
	//[ 1] value                                          text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Value string `gorm:"column:value;type:text;size:65535;" json:"value"`
	//[ 2] information                                    text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	Information string `gorm:"column:information;type:text;size:65535;" json:"information"`
	//[ 3] ts                                             timestamp            null: false  primary: false  isArray: false  auto: false  col: timestamp       len: -1      default: [current_timestamp()]
	Ts time.Time `gorm:"column:ts;type:timestamp;" json:"ts"`
}

Variables struct is a row record of the variables table in the eqemu database

func (*Variables) BeforeSave

func (v *Variables) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Variables) Prepare

func (v *Variables) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Variables) TableInfo

func (v *Variables) TableInfo() *TableInfo

TableInfo return table meta data

func (*Variables) TableName

func (v *Variables) TableName() string

TableName sets the insert table name for this struct type

func (*Variables) Validate

func (v *Variables) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type VeteranRewardTemplates

type VeteranRewardTemplates struct {
	//[ 0] claim_id                                       uint                 null: false  primary: true   isArray: false  auto: false  col: uint            len: -1      default: []
	ClaimID uint32 `gorm:"primary_key;column:claim_id;type:uint;" json:"claim_id"`
	//[ 1] name                                           varchar(64)          null: false  primary: false  isArray: false  auto: false  col: varchar         len: 64      default: []
	Name string `gorm:"column:name;type:varchar;size:64;" json:"name"`
	//[ 2] item_id                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: []
	ItemID uint32 `gorm:"column:item_id;type:uint;" json:"item_id"`
	//[ 3] charges                                        usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: []
	Charges uint32 `gorm:"column:charges;type:usmallint;" json:"charges"`
	//[ 4] reward_slot                                    utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: []
	RewardSlot uint32 `gorm:"column:reward_slot;type:utinyint;" json:"reward_slot"`
}

VeteranRewardTemplates struct is a row record of the veteran_reward_templates table in the eqemu database

func (*VeteranRewardTemplates) BeforeSave

func (v *VeteranRewardTemplates) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*VeteranRewardTemplates) Prepare

func (v *VeteranRewardTemplates) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*VeteranRewardTemplates) TableInfo

func (v *VeteranRewardTemplates) TableInfo() *TableInfo

TableInfo return table meta data

func (*VeteranRewardTemplates) TableName

func (v *VeteranRewardTemplates) TableName() string

TableName sets the insert table name for this struct type

func (*VeteranRewardTemplates) Validate

func (v *VeteranRewardTemplates) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type Zone

type Zone struct {
	//[ 0] short_name                                     varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	ShortName null.String `gorm:"column:short_name;type:varchar;size:32;" json:"short_name"`
	//[ 1] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 2] file_name                                      varchar(16)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 16      default: [NULL]
	FileName null.String `gorm:"column:file_name;type:varchar;size:16;" json:"file_name"`
	//[ 3] long_name                                      text(65535)          null: false  primary: false  isArray: false  auto: false  col: text            len: 65535   default: []
	LongName string `gorm:"column:long_name;type:text;size:65535;" json:"long_name"`
	//[ 4] map_file_name                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	MapFileName null.String `gorm:"column:map_file_name;type:varchar;size:100;" json:"map_file_name"`
	//[ 5] safe_x                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	SafeX float32 `gorm:"column:safe_x;type:float;default:0;" json:"safe_x"`
	//[ 6] safe_y                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	SafeY float32 `gorm:"column:safe_y;type:float;default:0;" json:"safe_y"`
	//[ 7] safe_z                                         float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	SafeZ float32 `gorm:"column:safe_z;type:float;default:0;" json:"safe_z"`
	//[ 8] graveyard_id                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	GraveyardID float32 `gorm:"column:graveyard_id;type:float;default:0;" json:"graveyard_id"`
	//[ 9] min_level                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinLevel uint32 `gorm:"column:min_level;type:utinyint;default:0;" json:"min_level"`
	//[10] min_status                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinStatus uint32 `gorm:"column:min_status;type:utinyint;default:0;" json:"min_status"`
	//[11] zoneidnumber                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Zoneidnumber int32 `gorm:"column:zoneidnumber;type:int;default:0;" json:"zoneidnumber"`
	//[12] version                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Version uint32 `gorm:"column:version;type:utinyint;default:0;" json:"version"`
	//[13] timezone                                       int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Timezone int32 `gorm:"column:timezone;type:int;default:0;" json:"timezone"`
	//[14] maxclients                                     int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Maxclients int32 `gorm:"column:maxclients;type:int;default:0;" json:"maxclients"`
	//[15] ruleset                                        uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	Ruleset uint32 `gorm:"column:ruleset;type:uint;default:0;" json:"ruleset"`
	//[16] note                                           varchar(80)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 80      default: [NULL]
	Note null.String `gorm:"column:note;type:varchar;size:80;" json:"note"`
	//[17] underworld                                     float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Underworld float32 `gorm:"column:underworld;type:float;default:0;" json:"underworld"`
	//[18] minclip                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	Minclip float32 `gorm:"column:minclip;type:float;default:450;" json:"minclip"`
	//[19] maxclip                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	Maxclip float32 `gorm:"column:maxclip;type:float;default:450;" json:"maxclip"`
	//[20] fog_minclip                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMinclip float32 `gorm:"column:fog_minclip;type:float;default:450;" json:"fog_minclip"`
	//[21] fog_maxclip                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMaxclip float32 `gorm:"column:fog_maxclip;type:float;default:450;" json:"fog_maxclip"`
	//[22] fog_blue                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogBlue uint32 `gorm:"column:fog_blue;type:utinyint;default:0;" json:"fog_blue"`
	//[23] fog_red                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogRed uint32 `gorm:"column:fog_red;type:utinyint;default:0;" json:"fog_red"`
	//[24] fog_green                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogGreen uint32 `gorm:"column:fog_green;type:utinyint;default:0;" json:"fog_green"`
	//[25] sky                                            utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Sky uint32 `gorm:"column:sky;type:utinyint;default:1;" json:"sky"`
	//[26] ztype                                          utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [1]
	Ztype uint32 `gorm:"column:ztype;type:utinyint;default:1;" json:"ztype"`
	//[27] zone_exp_multiplier                            decimal              null: false  primary: false  isArray: false  auto: false  col: decimal         len: -1      default: [0.00]
	ZoneExpMultiplier float64 `gorm:"column:zone_exp_multiplier;type:decimal;default:0.00;" json:"zone_exp_multiplier"`
	//[28] walkspeed                                      float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.4]
	Walkspeed float32 `gorm:"column:walkspeed;type:float;default:0.4;" json:"walkspeed"`
	//[29] time_type                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [2]
	TimeType uint32 `gorm:"column:time_type;type:utinyint;default:2;" json:"time_type"`
	//[30] fog_red1                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogRed1 uint32 `gorm:"column:fog_red1;type:utinyint;default:0;" json:"fog_red_1"`
	//[31] fog_green1                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogGreen1 uint32 `gorm:"column:fog_green1;type:utinyint;default:0;" json:"fog_green_1"`
	//[32] fog_blue1                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogBlue1 uint32 `gorm:"column:fog_blue1;type:utinyint;default:0;" json:"fog_blue_1"`
	//[33] fog_minclip1                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMinclip1 float32 `gorm:"column:fog_minclip1;type:float;default:450;" json:"fog_minclip_1"`
	//[34] fog_maxclip1                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMaxclip1 float32 `gorm:"column:fog_maxclip1;type:float;default:450;" json:"fog_maxclip_1"`
	//[35] fog_red2                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogRed2 uint32 `gorm:"column:fog_red2;type:utinyint;default:0;" json:"fog_red_2"`
	//[36] fog_green2                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogGreen2 uint32 `gorm:"column:fog_green2;type:utinyint;default:0;" json:"fog_green_2"`
	//[37] fog_blue2                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogBlue2 uint32 `gorm:"column:fog_blue2;type:utinyint;default:0;" json:"fog_blue_2"`
	//[38] fog_minclip2                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMinclip2 float32 `gorm:"column:fog_minclip2;type:float;default:450;" json:"fog_minclip_2"`
	//[39] fog_maxclip2                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMaxclip2 float32 `gorm:"column:fog_maxclip2;type:float;default:450;" json:"fog_maxclip_2"`
	//[40] fog_red3                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogRed3 uint32 `gorm:"column:fog_red3;type:utinyint;default:0;" json:"fog_red_3"`
	//[41] fog_green3                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogGreen3 uint32 `gorm:"column:fog_green3;type:utinyint;default:0;" json:"fog_green_3"`
	//[42] fog_blue3                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogBlue3 uint32 `gorm:"column:fog_blue3;type:utinyint;default:0;" json:"fog_blue_3"`
	//[43] fog_minclip3                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMinclip3 float32 `gorm:"column:fog_minclip3;type:float;default:450;" json:"fog_minclip_3"`
	//[44] fog_maxclip3                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMaxclip3 float32 `gorm:"column:fog_maxclip3;type:float;default:450;" json:"fog_maxclip_3"`
	//[45] fog_red4                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogRed4 uint32 `gorm:"column:fog_red4;type:utinyint;default:0;" json:"fog_red_4"`
	//[46] fog_green4                                     utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogGreen4 uint32 `gorm:"column:fog_green4;type:utinyint;default:0;" json:"fog_green_4"`
	//[47] fog_blue4                                      utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	FogBlue4 uint32 `gorm:"column:fog_blue4;type:utinyint;default:0;" json:"fog_blue_4"`
	//[48] fog_minclip4                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMinclip4 float32 `gorm:"column:fog_minclip4;type:float;default:450;" json:"fog_minclip_4"`
	//[49] fog_maxclip4                                   float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [450]
	FogMaxclip4 float32 `gorm:"column:fog_maxclip4;type:float;default:450;" json:"fog_maxclip_4"`
	//[50] fog_density                                    float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	FogDensity float32 `gorm:"column:fog_density;type:float;default:0;" json:"fog_density"`
	//[51] flag_needed                                    varchar(128)         null: false  primary: false  isArray: false  auto: false  col: varchar         len: 128     default: [”]
	FlagNeeded string `gorm:"column:flag_needed;type:varchar;size:128;default:'';" json:"flag_needed"`
	//[52] canbind                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Canbind int32 `gorm:"column:canbind;type:tinyint;default:1;" json:"canbind"`
	//[53] cancombat                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Cancombat int32 `gorm:"column:cancombat;type:tinyint;default:1;" json:"cancombat"`
	//[54] canlevitate                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Canlevitate int32 `gorm:"column:canlevitate;type:tinyint;default:1;" json:"canlevitate"`
	//[55] castoutdoor                                    tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Castoutdoor int32 `gorm:"column:castoutdoor;type:tinyint;default:1;" json:"castoutdoor"`
	//[56] hotzone                                        utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Hotzone uint32 `gorm:"column:hotzone;type:utinyint;default:0;" json:"hotzone"`
	//[57] insttype                                       utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Insttype uint32 `gorm:"column:insttype;type:utinyint;default:0;" json:"insttype"`
	//[58] shutdowndelay                                  ubigint              null: false  primary: false  isArray: false  auto: false  col: ubigint         len: -1      default: [5000]
	Shutdowndelay uint64 `gorm:"column:shutdowndelay;type:ubigint;default:5000;" json:"shutdowndelay"`
	//[59] peqzone                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [1]
	Peqzone int32 `gorm:"column:peqzone;type:tinyint;default:1;" json:"peqzone"`
	//[60] expansion                                      tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Expansion int32 `gorm:"column:expansion;type:tinyint;default:0;" json:"expansion"`
	//[61] suspendbuffs                                   utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	Suspendbuffs uint32 `gorm:"column:suspendbuffs;type:utinyint;default:0;" json:"suspendbuffs"`
	//[62] rain_chance1                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainChance1 int32 `gorm:"column:rain_chance1;type:int;default:0;" json:"rain_chance_1"`
	//[63] rain_chance2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainChance2 int32 `gorm:"column:rain_chance2;type:int;default:0;" json:"rain_chance_2"`
	//[64] rain_chance3                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainChance3 int32 `gorm:"column:rain_chance3;type:int;default:0;" json:"rain_chance_3"`
	//[65] rain_chance4                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainChance4 int32 `gorm:"column:rain_chance4;type:int;default:0;" json:"rain_chance_4"`
	//[66] rain_duration1                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainDuration1 int32 `gorm:"column:rain_duration1;type:int;default:0;" json:"rain_duration_1"`
	//[67] rain_duration2                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainDuration2 int32 `gorm:"column:rain_duration2;type:int;default:0;" json:"rain_duration_2"`
	//[68] rain_duration3                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainDuration3 int32 `gorm:"column:rain_duration3;type:int;default:0;" json:"rain_duration_3"`
	//[69] rain_duration4                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	RainDuration4 int32 `gorm:"column:rain_duration4;type:int;default:0;" json:"rain_duration_4"`
	//[70] snow_chance1                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowChance1 int32 `gorm:"column:snow_chance1;type:int;default:0;" json:"snow_chance_1"`
	//[71] snow_chance2                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowChance2 int32 `gorm:"column:snow_chance2;type:int;default:0;" json:"snow_chance_2"`
	//[72] snow_chance3                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowChance3 int32 `gorm:"column:snow_chance3;type:int;default:0;" json:"snow_chance_3"`
	//[73] snow_chance4                                   int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowChance4 int32 `gorm:"column:snow_chance4;type:int;default:0;" json:"snow_chance_4"`
	//[74] snow_duration1                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowDuration1 int32 `gorm:"column:snow_duration1;type:int;default:0;" json:"snow_duration_1"`
	//[75] snow_duration2                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowDuration2 int32 `gorm:"column:snow_duration2;type:int;default:0;" json:"snow_duration_2"`
	//[76] snow_duration3                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowDuration3 int32 `gorm:"column:snow_duration3;type:int;default:0;" json:"snow_duration_3"`
	//[77] snow_duration4                                 int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	SnowDuration4 int32 `gorm:"column:snow_duration4;type:int;default:0;" json:"snow_duration_4"`
	//[78] gravity                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0.4]
	Gravity float32 `gorm:"column:gravity;type:float;default:0.4;" json:"gravity"`
	//[79] type                                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Type int32 `gorm:"column:type;type:int;default:0;" json:"type"`
	//[80] skylock                                        tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	Skylock int32 `gorm:"column:skylock;type:tinyint;default:0;" json:"skylock"`
	//[81] fast_regen_hp                                  int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [180]
	FastRegenHp int32 `gorm:"column:fast_regen_hp;type:int;default:180;" json:"fast_regen_hp"`
	//[82] fast_regen_mana                                int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [180]
	FastRegenMana int32 `gorm:"column:fast_regen_mana;type:int;default:180;" json:"fast_regen_mana"`
	//[83] fast_regen_endurance                           int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [180]
	FastRegenEndurance int32 `gorm:"column:fast_regen_endurance;type:int;default:180;" json:"fast_regen_endurance"`
	//[84] npc_max_aggro_dist                             int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [600]
	NpcMaxAggroDist int32 `gorm:"column:npc_max_aggro_dist;type:int;default:600;" json:"npc_max_aggro_dist"`
	//[85] max_movement_update_range                      uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [600]
	MaxMovementUpdateRange uint32 `gorm:"column:max_movement_update_range;type:uint;default:600;" json:"max_movement_update_range"`
	//[86] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[87] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[88] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[89] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
}

Zone struct is a row record of the zone table in the eqemu database

func (*Zone) BeforeSave

func (z *Zone) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*Zone) Prepare

func (z *Zone) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*Zone) TableInfo

func (z *Zone) TableInfo() *TableInfo

TableInfo return table meta data

func (*Zone) TableName

func (z *Zone) TableName() string

TableName sets the insert table name for this struct type

func (*Zone) Validate

func (z *Zone) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ZoneFlags

type ZoneFlags struct {
	//[ 0] charID                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	CharID int32 `gorm:"primary_key;column:charID;type:int;default:0;" json:"char_id"`
	//[ 1] zoneID                                         int                  null: false  primary: true   isArray: false  auto: false  col: int             len: -1      default: [0]
	ZoneID int32 `gorm:"primary_key;column:zoneID;type:int;default:0;" json:"zone_id"`
}

ZoneFlags struct is a row record of the zone_flags table in the eqemu database

func (*ZoneFlags) BeforeSave

func (z *ZoneFlags) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ZoneFlags) Prepare

func (z *ZoneFlags) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ZoneFlags) TableInfo

func (z *ZoneFlags) TableInfo() *TableInfo

TableInfo return table meta data

func (*ZoneFlags) TableName

func (z *ZoneFlags) TableName() string

TableName sets the insert table name for this struct type

func (*ZoneFlags) Validate

func (z *ZoneFlags) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

type ZonePoints

type ZonePoints struct {
	//[ 0] id                                             int                  null: false  primary: true   isArray: false  auto: true   col: int             len: -1      default: []
	ID int32 `gorm:"primary_key;AUTO_INCREMENT;column:id;type:int;" json:"id"`
	//[ 1] zone                                           varchar(32)          null: true   primary: false  isArray: false  auto: false  col: varchar         len: 32      default: [NULL]
	Zone null.String `gorm:"column:zone;type:varchar;size:32;" json:"zone"`
	//[ 2] version                                        int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Version int32 `gorm:"column:version;type:int;default:0;" json:"version"`
	//[ 3] number                                         usmallint            null: false  primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [1]
	Number uint32 `gorm:"column:number;type:usmallint;default:1;" json:"number"`
	//[ 4] y                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Y float32 `gorm:"column:y;type:float;default:0;" json:"y"`
	//[ 5] x                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	X float32 `gorm:"column:x;type:float;default:0;" json:"x"`
	//[ 6] z                                              float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Z float32 `gorm:"column:z;type:float;default:0;" json:"z"`
	//[ 7] heading                                        float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Heading float32 `gorm:"column:heading;type:float;default:0;" json:"heading"`
	//[ 8] target_y                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TargetY float32 `gorm:"column:target_y;type:float;default:0;" json:"target_y"`
	//[ 9] target_x                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TargetX float32 `gorm:"column:target_x;type:float;default:0;" json:"target_x"`
	//[10] target_z                                       float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TargetZ float32 `gorm:"column:target_z;type:float;default:0;" json:"target_z"`
	//[11] target_heading                                 float                null: false  primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	TargetHeading float32 `gorm:"column:target_heading;type:float;default:0;" json:"target_heading"`
	//[12] zoneinst                                       usmallint            null: true   primary: false  isArray: false  auto: false  col: usmallint       len: -1      default: [0]
	Zoneinst null.Int `gorm:"column:zoneinst;type:usmallint;default:0;" json:"zoneinst"`
	//[13] target_zone_id                                 uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TargetZoneID uint32 `gorm:"column:target_zone_id;type:uint;default:0;" json:"target_zone_id"`
	//[14] target_instance                                uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [0]
	TargetInstance uint32 `gorm:"column:target_instance;type:uint;default:0;" json:"target_instance"`
	//[15] buffer                                         float                null: true   primary: false  isArray: false  auto: false  col: float           len: -1      default: [0]
	Buffer null.Float `gorm:"column:buffer;type:float;default:0;" json:"buffer"`
	//[16] client_version_mask                            uint                 null: false  primary: false  isArray: false  auto: false  col: uint            len: -1      default: [4294967295]
	ClientVersionMask uint32 `gorm:"column:client_version_mask;type:uint;default:4294967295;" json:"client_version_mask"`
	//[17] min_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MinExpansion uint32 `gorm:"column:min_expansion;type:utinyint;default:0;" json:"min_expansion"`
	//[18] max_expansion                                  utinyint             null: false  primary: false  isArray: false  auto: false  col: utinyint        len: -1      default: [0]
	MaxExpansion uint32 `gorm:"column:max_expansion;type:utinyint;default:0;" json:"max_expansion"`
	//[19] content_flags                                  varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlags null.String `gorm:"column:content_flags;type:varchar;size:100;" json:"content_flags"`
	//[20] content_flags_disabled                         varchar(100)         null: true   primary: false  isArray: false  auto: false  col: varchar         len: 100     default: [NULL]
	ContentFlagsDisabled null.String `gorm:"column:content_flags_disabled;type:varchar;size:100;" json:"content_flags_disabled"`
	//[21] is_virtual                                     tinyint              null: false  primary: false  isArray: false  auto: false  col: tinyint         len: -1      default: [0]
	IsVirtual int32 `gorm:"column:is_virtual;type:tinyint;default:0;" json:"is_virtual"`
	//[22] height                                         int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Height int32 `gorm:"column:height;type:int;default:0;" json:"height"`
	//[23] width                                          int                  null: false  primary: false  isArray: false  auto: false  col: int             len: -1      default: [0]
	Width int32 `gorm:"column:width;type:int;default:0;" json:"width"`
}

ZonePoints struct is a row record of the zone_points table in the eqemu database

func (*ZonePoints) BeforeSave

func (z *ZonePoints) BeforeSave() error

BeforeSave invoked before saving, return an error if field is not populated.

func (*ZonePoints) Prepare

func (z *ZonePoints) Prepare()

Prepare invoked before saving, can be used to populate fields etc.

func (*ZonePoints) TableInfo

func (z *ZonePoints) TableInfo() *TableInfo

TableInfo return table meta data

func (*ZonePoints) TableName

func (z *ZonePoints) TableName() string

TableName sets the insert table name for this struct type

func (*ZonePoints) Validate

func (z *ZonePoints) Validate(action Action) error

Validate invoked before performing action, return an error if field is not populated.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL