package model type SysInviteCodes struct { Code string `json:"code" xorm:"not null pk default '0' comment('邀请码') VARCHAR(10)"` IsUsed int `json:"is_used" xorm:"not null default 0 comment('是否被使用') TINYINT(1)"` }