subaccount.go 627 B

12345678910111213
  1. package gorm_model
  2. type YounggeeSubAccount struct {
  3. SubAccountId int `gorm:"column:sub_account_id;primary_key;AUTO_INCREMENT"` // 子账号ID
  4. PhoneNumber int `gorm:"column:phone_number"` // 手机号
  5. SubAccountName string `gorm:"column:sub_account_name"` // 子账号名称
  6. JobId int `gorm:"column:job_id"` // 岗位ID
  7. EnterpriseId string `gorm:"column:enterprise_id"` // 所属商家账号ID
  8. }
  9. func (m *YounggeeSubAccount) TableName() string {
  10. return "younggee_sub_account"
  11. }