service/dbstruct/guild_registration.go

25 lines
1.5 KiB
Go

package dbstruct
type GuildRegistration struct {
Id *int64 `json:"id" bson:"_id"` // 公会入驻表id
Mid *int64 `json:"mid" bson:"mid"` // 关联用户mid
GuildName *string `json:"guild_name" bson:"guild_name"` // 公会名称
ContactName *string `json:"contact_name" bson:"contact_name"` // 联络人
ContactWay *string `json:"contact_way" bson:"contact_way"` // 联系方式
StreamerNum *int64 `json:"streamer_num" bson:"streamer_num"` // 达人数量
CooperatedPlatform *string `json:"cooperated_platform" bson:"cooperated_platform"` // 合作过的平台
AccountShot *MediaComponent `json:"account_shot" bson:"account_shot"` // 相关账号截图
Status *int64 `json:"status" bson:"status"` // 审核状态
Remarks *string `json:"remarks" bson:"remarks"` // 审核备注
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
Ut *int64 `json:"ut" bson:"ut"` // 更新时间
DelFlag *int64 `json:"del_flag" bson:"del_flag"` // 删除标记
}
func (p *GuildRegistration) GetMid() int64 {
if p != nil && p.Mid != nil {
return *p.Mid
}
return -1
}