新增专长

This commit is contained in:
2023-07-11 11:49:22 +08:00
parent 1e5a26b329
commit b7528ce40f
10 changed files with 447 additions and 110 deletions
+13
View File
@@ -0,0 +1,13 @@
package model
// DiseaseClassExpertise 疾病分类表-医生专长
type DiseaseClassExpertise struct {
ExpertiseId int64 `gorm:"column:expertise_id;type:bigint(19);primary_key;comment:主键id" json:"expertise_id"`
ExpertiseName string `gorm:"column:expertise_name;type:varchar(255);comment:专长名称" json:"expertise_name"`
ExpertiseSort int `gorm:"column:expertise_sort;type:int(11);default:0;comment:排序(越大排序越靠前)" json:"expertise_sort"`
Model
}
func (m *DiseaseClassExpertise) TableName() string {
return "gdxz_disease_class_expertise"
}
+13
View File
@@ -0,0 +1,13 @@
package model
// DoctorExpertise 医生专长表
type DoctorExpertise struct {
DoctorExpertiseId int64 `gorm:"column:doctor_expertise_id;type:bigint(19);primary_key;comment:主键id" json:"doctor_expertise_id"`
DoctorId int64 `gorm:"column:doctor_id;type:bigint(19);comment:医生id" json:"doctor_id"`
ExpertiseId int64 `gorm:"column:expertise_id;type:bigint(19);comment:专长id" json:"expertise_id"`
Model
}
func (m *DoctorExpertise) TableName() string {
return "gdxz_doctor_expertise"
}