scrm-go

org_info_models.go 216B

123456789101112131415
  1. package org_service
  2. import (
  3. "SCRM/models"
  4. )
  5. type Org struct {
  6. models.Org
  7. OrgGallery []*models.OrgGallery `gorm:"ForeignKey:OrgId" json:"org_gallery"`
  8. }
  9. func (Org) TableName() string {
  10. return "sgj_user_org"
  11. }