feat:完善入驻信息管理
This commit is contained in:
@ -11,32 +11,41 @@ type Area struct {
|
||||
type (
|
||||
// IdentityForCompany 公司附加信息
|
||||
IdentityForCompany struct {
|
||||
WebUrl string `json:"web_url" form:"web_url"`
|
||||
Url string `json:"url" form:"url"` // 企业网站
|
||||
}
|
||||
// IdentityForExpert 专家附加信息
|
||||
IdentityForExpert struct {
|
||||
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"`
|
||||
Research string `json:"research" form:"research"` // 研究方向
|
||||
ResearchID uint64 `json:"research_id" form:"research_id" binding:"required"` // 科研机构ID
|
||||
LaboratoryID uint64 `json:"laboratory_id" form:"laboratory_id"` // 实验室ID
|
||||
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"` // 从业时间
|
||||
Gender int `json:"gender" form:"gender"` // 性别
|
||||
Researchs []string `json:"researchs" form:"researchs"` // 研究方向
|
||||
}
|
||||
// IdentityForResearch 研究机构
|
||||
IdentityForResearch struct {
|
||||
Longitude float64 `json:"longitude" form:"longitude"` // 经度
|
||||
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
|
||||
Research string `json:"research" form:"research"` // 研究领域方向
|
||||
Longitude float64 `json:"longitude" form:"longitude"` // 经度
|
||||
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
|
||||
Researchs []string `json:"researchs" form:"researchs"` // 研究方向
|
||||
}
|
||||
// IdentityForLaboratory 实验室
|
||||
IdentityForLaboratory struct {
|
||||
TenantID uint64 `json:"tenant_id" form:"tenant_id"`
|
||||
Longitude float64 `json:"longitude" form:"longitude"` // 经度
|
||||
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
|
||||
Research string `json:"research" form:"research"` // 研究领域方向
|
||||
ResearchID uint64 `json:"research_id" form:"research_id" binding:"required"` // 科研机构ID
|
||||
Url string `json:"url" form:"url"` // 实验室网站
|
||||
Longitude float64 `json:"longitude" form:"longitude"` // 经度
|
||||
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
|
||||
Researchs []string `json:"researchs" form:"researchs"` // 研究方向
|
||||
}
|
||||
// IdentityForAgent 经纪人
|
||||
IdentityForAgent struct {
|
||||
ResearchID uint64 `json:"research_id" form:"research_id" binding:"required"` // 科研机构ID
|
||||
Url string `json:"url" form:"url"` // 实验室网站
|
||||
Longitude float64 `json:"longitude" form:"longitude"` // 经度
|
||||
Latitude float64 `json:"latitude" form:"latitude"` // 纬度
|
||||
Researchs []string `json:"researchs" form:"researchs"` // 研究方向
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user