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

14 lines
351 B
Go
Raw Normal View History

2022-01-25 17:03:14 +08:00
package model
//todo:建立一个公共的model
type Dm 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"`
}