Files
bl/modules/blazing/model/TeamPKInfo.go

14 lines
435 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
// TeamPKInfo 战队PK相关信息结构
type TeamPKInfo struct {
GroupID uint32 `struc:"uint32" default:"1"` // 分组ID默认值1对应Java的@UInt long
HomeTeamID uint32 `struc:"uint32" default:"1"` // 主队ID默认值1对应Java的@UInt long
}
// InitDefaults 初始化默认值(确保字段默认值正确赋值)
func (t *TeamPKInfo) InitDefaults() {
t.GroupID = 1
t.HomeTeamID = 1
}