Files

41 lines
1.6 KiB
Go
Raw Normal View History

2021-09-30 12:09:45 +08:00
package config
2021-09-30 16:20:00 +08:00
// Area 区域
2021-09-30 12:09:45 +08:00
type Area struct {
2021-10-13 14:41:46 +08:00
Province string `json:"province" form:"province"`
City string `json:"city" form:"city"`
District string `json:"district" form:"district"`
2021-10-11 16:30:53 +08:00
Address string `json:"address" form:"address"`
2021-09-30 12:09:45 +08:00
}
2021-09-30 16:20:00 +08:00
type (
2021-10-09 17:32:23 +08:00
// IdentityForCompany 公司附加信息
2021-10-11 16:30:53 +08:00
IdentityForCompany struct{}
// IdentityForExpert 专家附加信息
IdentityForExpert struct {
2021-11-01 11:19:49 +08:00
TenantID uint64 `json:"tenant_id" form:"tenant_id"`
Longitude float64 `json:"longitude" form:"longitude"` // 经度
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
School string `json:"school" form:"school"`
Major string `json:"major" form:"major"`
Job string `json:"job" form:"job"`
Title string `json:"title" form:"title"`
WorkAt string `json:"work_at" form:"work_at"`
Keyword string `json:"keyword" form:"keyword"`
Research string `json:"research" form:"research"` // 研究方向
2021-10-11 16:30:53 +08:00
}
// IdentityForResearch 研究机构
IdentityForResearch struct {
Longitude float64 `json:"longitude" form:"longitude"` // 经度
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
2021-10-27 13:27:01 +08:00
Research string `json:"research" form:"research"` // 研究领域方向
2021-10-11 16:30:53 +08:00
}
// IdentityForLaboratory 实验室
IdentityForLaboratory struct {
TenantID uint64 `json:"tenant_id" form:"tenant_id"`
Longitude float64 `json:"longitude" form:"longitude"` // 经度
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
2021-10-27 13:27:01 +08:00
Research map[int]string `json:"research" form:"research"` // 研究领域方向
2021-09-30 16:20:00 +08:00
}
)