医生增加是否接受抄方 属性

This commit is contained in:
haomingming
2025-12-25 14:47:38 +08:00
parent a4698621bf
commit 4133c7e26b
4 changed files with 21 additions and 4 deletions
+10 -3
View File
@@ -37,6 +37,7 @@ type UserDoctorDto struct {
IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation"` // 是否平台深度合作医生(0:否 1:是)
IsEnterpriseDeepCooperation int `json:"is_enterprise_deep_cooperation"` // 是否企业深度合作医生(0:否 1:是)
IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation"` // 是否先思达合作医生(0:否 1:是)
IsTransferPrescription int `json:"is_transfer_prescription"` // 是否接受抄方(0:否 1:是)
QrCode string `json:"qr_code"` // 分享二维码
BeGoodAt string `json:"be_good_at"` // 擅长
BriefIntroduction string `json:"brief_introduction"` // 医生简介
@@ -77,6 +78,7 @@ type UserDoctorPendingDto struct {
IsPlatformDeepCooperation int `json:"is_platform_deep_cooperation"` // 是否平台深度合作医生(0:否 1:是)
IsEnterpriseDeepCooperation int `json:"is_enterprise_deep_cooperation"` // 是否企业深度合作医生(0:否 1:是)
IsSysDiagnoCooperation int `json:"is_sys_diagno_cooperation"` // 是否先思达合作医生(0:否 1:是)
IsTransferPrescription int `json:"is_transfer_prescription"` // 是否接受抄方(0:否 1:是)
IsRecommend int `json:"is_recommend"` // 是否首页推荐(0:否 1:是)
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
UpdatedAt model.LocalTime `json:"updated_at"` // 更新时间
@@ -143,8 +145,10 @@ func GetUserDoctorDto(m *model.UserDoctor) *UserDoctorDto {
PraiseRate: m.PraiseRate,
AvgResponseTime: m.AvgResponseTime,
NumberOfFans: m.NumberOfFans,
IsPlatformDeepCooperation: m.IsPlatformDeepCooperation,
IsSysDiagnoCooperation: m.IsSysDiagnoCooperation,
IsPlatformDeepCooperation: m.IsPlatformDeepCooperation,
IsEnterpriseDeepCooperation: m.IsEnterpriseDeepCooperation,
IsSysDiagnoCooperation: m.IsSysDiagnoCooperation,
IsTransferPrescription: m.IsTransferPrescription,
QrCode: utils.AddOssDomain(m.QrCode),
BeGoodAt: m.BeGoodAt,
BriefIntroduction: m.BriefIntroduction,
@@ -182,7 +186,9 @@ func GetUserDoctorListDto(m []*model.UserDoctor) []*UserDoctorDto {
PraiseRate: v.PraiseRate,
AvgResponseTime: v.AvgResponseTime,
NumberOfFans: v.NumberOfFans,
IsPlatformDeepCooperation: v.IsPlatformDeepCooperation,
IsPlatformDeepCooperation: v.IsPlatformDeepCooperation,
IsEnterpriseDeepCooperation: v.IsEnterpriseDeepCooperation,
IsTransferPrescription: v.IsTransferPrescription,
CreatedAt: v.CreatedAt,
UpdatedAt: v.UpdatedAt,
}
@@ -241,6 +247,7 @@ func GetUserDoctorPendingDto(m *model.UserDoctor) *UserDoctorPendingDto {
IsPlatformDeepCooperation: m.IsPlatformDeepCooperation,
IsEnterpriseDeepCooperation: m.IsEnterpriseDeepCooperation,
IsSysDiagnoCooperation: m.IsSysDiagnoCooperation,
IsTransferPrescription: m.IsTransferPrescription,
IsRecommend: m.IsRecommend,
CreatedAt: m.CreatedAt,
UpdatedAt: m.UpdatedAt,