feat:完善项目信息
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
// ManageAgent 经纪人入驻信息管理
|
||||
type ManageAgent struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
Name string `gorm:"column:name;type:varchar(30);default:'';comment:姓名" json:"name"`
|
||||
Mobile string `gorm:"column:mobile;type:varchar(15);default:'';comment:联系方式" json:"mobile"`
|
||||
IDCard string `gorm:"column:id_card;type:varchar(18);default:'';comment:身份证号" json:"id_card"`
|
||||
|
@ -5,7 +5,7 @@ import "SciencesServer/utils"
|
||||
// ManageCompany 公司企业入驻信息管理
|
||||
type ManageCompany struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
InviterID uint64 `gorm:"column:inviter_id;type:int;default:0;comment:邀请人ID" json:"inviter_id"`
|
||||
Kind ManageCompanyKind `gorm:"column:kind;type:tinyint(1);default:0;comment:企业类型" json:"kind"`
|
||||
Name string `gorm:"column:name;type:varchar(30);default:'';comment:企业名称" json:"name"`
|
||||
|
@ -5,7 +5,7 @@ import "time"
|
||||
// ManageEquipment 器材数据模型管理
|
||||
type ManageEquipment struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
|
||||
Kind ManageEquipmentKind `gorm:"column:kind;type:tinyint(1);default:0;comment:器材类型" json:"kind"`
|
||||
Code string `gorm:"column:code;type:varchar(30);default:'';comment:器材编号" json:"code"`
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
// ManageExpert 专家入驻信息管理
|
||||
type ManageExpert struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
Image
|
||||
ResearchID uint64 `gorm:"column:research_id;type:int(11);default:0;comment:科研机构ID" json:"-"`
|
||||
LaboratoryID uint64 `gorm:"column:laboratory_id;type:int(11);default:0;comment:实验室ID" json:"-"`
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
// ManageLaboratory 实验室入住信息管理
|
||||
type ManageLaboratory struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
ResearchID uint64 `gorm:"column:research_id;type:int(11);default:0;comment:科研机构ID" json:"-"`
|
||||
Name string `gorm:"column:name;type:varchar(30);default:'';comment:名称" json:"name"`
|
||||
Code string `gorm:"column:code;type:varchar(30);default:'';comment:信用代码" json:"code"`
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
// ManageResearch 科研机构入住信息管理
|
||||
type ManageResearch struct {
|
||||
Model
|
||||
Local
|
||||
ModelTenant
|
||||
Name string `gorm:"column:name;type:varchar(30);default:'';comment:名称" json:"name"`
|
||||
Code string `gorm:"column:code;type:varchar(30);default:'';comment:信用代码" json:"code"`
|
||||
Image
|
||||
|
Reference in New Issue
Block a user