新增审核-医生列表-详情

This commit is contained in:
2023-07-12 17:57:49 +08:00
parent 8b0589af51
commit 54feddd429
15 changed files with 469 additions and 24 deletions
+14
View File
@@ -0,0 +1,14 @@
package model
// Area 地区表
type Area struct {
AreaId int64 `gorm:"column:area_id;type:bigint(19);primary_key;comment:地区编号" json:"area_id"`
AreaName string `gorm:"column:area_name;type:varchar(255);comment:名称" json:"area_name"`
ParentId int64 `gorm:"column:parent_id;type:bigint(19);comment:上级编号" json:"parent_id"`
Zip string `gorm:"column:zip;type:varchar(10);comment:邮编" json:"zip"`
AreaType int `gorm:"column:area_type;type:tinyint(4);comment:类型(1:国家,2:省,3:市,4:区县)" json:"area_type"`
}
func (m *Area) TableName() string {
return "gdxz_area"
}
+17
View File
@@ -0,0 +1,17 @@
package model
import "time"
// DoctorIdenFail 医生身份审核失败原因表
type DoctorIdenFail struct {
IdenFailId int64 `gorm:"column:iden_fail_id;type:bigint(19);primary_key;comment:主键id" json:"iden_fail_id"`
DoctorId int64 `gorm:"column:doctor_id;type:bigint(19);comment:医生id" json:"doctor_id"`
FieldName string `gorm:"column:field_name;type:varchar(50);comment:字段名称" json:"field_name"`
FailReason string `gorm:"column:fail_reason;type:varchar(255);comment:失败原因" json:"fail_reason"`
CreatedAt time.Time `gorm:"column:created_at;type:datetime;comment:创建时间" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at;type:datetime;comment:修改时间" json:"updated_at"`
}
func (m *DoctorIdenFail) TableName() string {
return "gdxz_doctor_iden_fail"
}