value.go
356 字节
package protocol
type CompanyBase struct {
Id int64 `json:"id"`
Name string `json:"name"`
ShortName string `json:"shortName"`
Image interface{} `json:"image"`
Phone string `json:"phone"`
}
type Image struct {
Path string `json:"path"`
}
func NewImage(path string) Image {
return Image{
Path: path,
}
}