package gorm_model type YounggeeSubAccount struct { SubAccountId int `gorm:"column:sub_account_id;primary_key;AUTO_INCREMENT"` // 子账号ID PhoneNumber int `gorm:"column:phone_number"` // 手机号 SubAccountName string `gorm:"column:sub_account_name"` // 子账号名称 JobId int `gorm:"column:job_id"` // 岗位ID EnterpriseId string `gorm:"column:enterprise_id"` // 所属商家账号ID } func (m *YounggeeSubAccount) TableName() string { return "younggee_sub_account" }