generated from pkg/go-template
14 lines
351 B
Go
14 lines
351 B
Go
|
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"`
|
||
|
}
|