// Code generated by sql2gorm. DO NOT EDIT. package entity type SubAccount struct { SubAccountId int64 `gorm:"sub_account_id"` // 子账号ID PhoneNumber string `gorm:"phone_number"` // 手机号 SubAccountName string `gorm:"sub_account_name"` // 名称 JobId int64 `gorm:"job_id"` // 岗位ID EnterpriseId string `gorm:"enterprise_id"` // 所属商家账号ID AccountStatus int64 `gorm:"account_status"` // 账户状态,1为正常,2为已停用 SubAccountType int64 `gorm:"sub_account_type"` // 子账号类型,1为商家端子账号,2为管理后台子账号,3为服务商端子账号 SuperAdminId int64 `gorm:"super_admin_id"` // 管理后台子账号创建者ID UserId int64 `gorm:"user_id"` // 用户表中ID SupplierId int64 `gorm:"supplier_id"` // 所属服务商ID } func (m *SubAccount) TableName() string { return "younggee_sub_account" }