backend/app/brahma/api/murder/internal/model/business.go

12 lines
322 B
Go

package model
type Business struct {
address string
point float64
tags string
pictures []string
Uuid string
Phone string
Scripts *[]Scripts `json:"tags,omitempty" gorm:"many2many:business_scripts;foreignKey:Uuid;joinForeignKey:CategoryUid;References:Uuid;JoinReferences:TagUid" valid:"no_empty"`
}