bindbox-game/internal/repository/mysql/model/patient_follow_questionnaire.gen.go
2025-10-16 13:28:24 +08:00

84 lines
11 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
import (
"time"
)
const TableNamePatientFollowQuestionnaire = "patient_follow_questionnaire"
// PatientFollowQuestionnaire 患者随访问卷表
type PatientFollowQuestionnaire struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
PatientID int32 `gorm:"column:patient_id;not null;comment:患者ID" json:"patient_id"` // 患者ID
PlanID int32 `gorm:"column:plan_id;not null;comment:随访计划ID" json:"plan_id"` // 随访计划ID
FollowName string `gorm:"column:follow_name;not null;comment:随访名称" json:"follow_name"` // 随访名称
FollowDate time.Time `gorm:"column:follow_date;comment:随访日期" json:"follow_date"` // 随访日期
FollowHospital string `gorm:"column:follow_hospital;not null;comment:随访医院" json:"follow_hospital"` // 随访医院
Height string `gorm:"column:height;not null;comment:身高(CM)" json:"height"` // 身高(CM)
Weight string `gorm:"column:weight;not null;comment:体重(KG)" json:"weight"` // 体重(KG)
HeadCircumference string `gorm:"column:head_circumference;not null;comment:头围(CM)" json:"head_circumference"` // 头围(CM)
HighHip string `gorm:"column:high_hip;not null;comment:上臀围(CM)" json:"high_hip"` // 上臀围(CM)
LiverFunctionImage string `gorm:"column:liver_function_image;comment:肝功能检查报告(多张用,分割)" json:"liver_function_image"` // 肝功能检查报告(多张用,分割)
TotalBilirubin string `gorm:"column:total_bilirubin;not null;comment:总胆红素µmol/L)" json:"total_bilirubin"` // 总胆红素µmol/L)
DirectBilirubin string `gorm:"column:direct_bilirubin;not null;comment:直接胆红素µmol/L)" json:"direct_bilirubin"` // 直接胆红素µmol/L)
TotalBileAcid string `gorm:"column:total_bile_acid;not null;comment:总胆汁酸g/L" json:"total_bile_acid"` // 总胆汁酸g/L
Albumin string `gorm:"column:albumin;not null;comment:白蛋白g/L" json:"albumin"` // 白蛋白g/L
GrainGrass string `gorm:"column:grain_grass;not null;comment:谷草U/L" json:"grain_grass"` // 谷草U/L
GuBing string `gorm:"column:gu_bing;not null;comment:谷丙U/L" json:"gu_bing"` // 谷丙U/L
Ggt string `gorm:"column:ggt;not null;comment:GGTU/L" json:"ggt"` // GGTU/L
Alp string `gorm:"column:alp;not null;comment:ALPU/L" json:"alp"` // ALPU/L
CoagulationFunctionImage string `gorm:"column:coagulation_function_image;comment:凝血功能检查报告(多张用,分割)" json:"coagulation_function_image"` // 凝血功能检查报告(多张用,分割)
Crp string `gorm:"column:crp;not null;comment:CRPmg/L" json:"crp"` // CRPmg/L
Ddr string `gorm:"column:ddr;not null;comment:DDR" json:"ddr"` // DDR
Inr string `gorm:"column:inr;not null;comment:INR" json:"inr"` // INR
Pt string `gorm:"column:pt;not null;comment:PTs" json:"pt"` // PTs
Pta string `gorm:"column:pta;not null;comment:PTA%" json:"pta"` // PTA%
Aptt string `gorm:"column:aptt;not null;comment:APTTs" json:"aptt"` // APTTs
Tt string `gorm:"column:tt;not null;comment:TTs" json:"tt"` // TTs
Fib string `gorm:"column:fib;not null;comment:FIBg/L" json:"fib"` // FIBg/L
Npdp string `gorm:"column:npdp;not null;comment:NPDPmg/L" json:"npdp"` // NPDPmg/L
Mmp7 string `gorm:"column:mmp_7;not null;comment:MMP-7ng/mL" json:"mmp_7"` // MMP-7ng/mL
BloodRoutineImage string `gorm:"column:blood_routine_image;comment:血常规检查报告(多张用,分割)" json:"blood_routine_image"` // 血常规检查报告(多张用,分割)
Platelets string `gorm:"column:platelets;not null;comment:血小板10^9/L)" json:"platelets"` // 血小板10^9/L)
Hemoglobin string `gorm:"column:hemoglobin;not null;comment:血红蛋白 (g/L)" json:"hemoglobin"` // 血红蛋白 (g/L)
WhiteBloodCells string `gorm:"column:white_blood_cells;not null;comment:白细胞 (10^9/L)" json:"white_blood_cells"` // 白细胞 (10^9/L)
RedBloodCells string `gorm:"column:red_blood_cells;not null;comment:红细胞 (10^9/L)" json:"red_blood_cells"` // 红细胞 (10^9/L)
NutritionalIndicatorImage string `gorm:"column:nutritional_indicator_image;comment:营养指标检查报告(多张用,分割)" json:"nutritional_indicator_image"` // 营养指标检查报告(多张用,分割)
OhD3 string `gorm:"column:oh_d3;not null;comment:25OHD3 (ng/ml)" json:"oh_d3"` // 25OHD3 (ng/ml)
OhD2 string `gorm:"column:oh_d2;not null;comment:25OHD2 (ng/ml)" json:"oh_d2"` // 25OHD2 (ng/ml)
OhD string `gorm:"column:oh_d;not null;comment:25OHD (ng/ml)" json:"oh_d"` // 25OHD (ng/ml)
VitaminA string `gorm:"column:vitamin_a;not null;comment:维生素A (ng/ml)" json:"vitamin_a"` // 维生素A (ng/ml)
VitaminK string `gorm:"column:vitamin_k;not null;comment:维生素K (ng/ml)" json:"vitamin_k"` // 维生素K (ng/ml)
VitaminE string `gorm:"column:vitamin_e;not null;comment:维生素E (ng/ml)" json:"vitamin_e"` // 维生素E (ng/ml)
BModeImage string `gorm:"column:b_mode_image;comment:B超报告(多张用,分割)" json:"b_mode_image"` // B超报告(多张用,分割)
UnderTheLiverRib string `gorm:"column:under_the_liver_rib;not null;comment:肝肋下(mm)" json:"under_the_liver_rib"` // 肝肋下(mm)
UnderTheXiphoidLiver string `gorm:"column:under_the_xiphoid_liver;not null;comment:肝剑突下(mm)" json:"under_the_xiphoid_liver"` // 肝剑突下(mm)
SpleenRibArea string `gorm:"column:spleen_rib_area;not null;comment:脾肋下(mm)" json:"spleen_rib_area"` // 脾肋下(mm)
MainPortalVein string `gorm:"column:main_portal_vein;not null;comment:门静脉主干内径(mm)" json:"main_portal_vein"` // 门静脉主干内径(mm)
LiverEcho string `gorm:"column:liver_echo;not null;comment:肝回声" json:"liver_echo"` // 肝回声
GallbladderSize string `gorm:"column:gallbladder_size;not null;comment:胆囊大小(mm)" json:"gallbladder_size"` // 胆囊大小(mm)
CommonBileDuct string `gorm:"column:common_bile_duct;not null;comment:胆总管(mm)" json:"common_bile_duct"` // 胆总管(mm)
FiberBlockSize string `gorm:"column:fiber_block_size;not null;comment:纤维块大小(mm)" json:"fiber_block_size"` // 纤维块大小(mm)
Pvv string `gorm:"column:pvv;not null;comment:门静脉流速" json:"pvv"` // 门静脉流速
LiverElasticityValue string `gorm:"column:liver_elasticity_value;not null;comment:肝弹性值" json:"liver_elasticity_value"` // 肝弹性值
IsHaveCyst int32 `gorm:"column:is_have_cyst;not null;comment:有无肝囊肿(1:是 2:否)" json:"is_have_cyst"` // 有无肝囊肿(1:是 2:否)
IsHaveAscites int32 `gorm:"column:is_have_ascites;not null;comment:有无腹水(1:是 2:否)" json:"is_have_ascites"` // 有无腹水(1:是 2:否)
ElastographyMinimum string `gorm:"column:elastography_minimum;not null;comment:弹性成像最小值(kPa)" json:"elastography_minimum"` // 弹性成像最小值(kPa)
ElastographyMaximum string `gorm:"column:elastography_maximum;not null;comment:弹性成像最大值(kPa)" json:"elastography_maximum"` // 弹性成像最大值(kPa)
ElastographyMedian string `gorm:"column:elastography_median;not null;comment:弹性成像中位数(kPa)" json:"elastography_median"` // 弹性成像中位数(kPa)
MdtImage string `gorm:"column:mdt_image;comment:MDT电子病历(多张用,分割)" json:"mdt_image"` // MDT电子病历(多张用,分割)
CreatedUser string `gorm:"column:created_user;not null;comment:创建人" json:"created_user"` // 创建人
CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间
UpdatedUser string `gorm:"column:updated_user;not null;comment:更新人" json:"updated_user"` // 更新人
UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"updated_at"` // 更新时间
}
// TableName PatientFollowQuestionnaire's table name
func (*PatientFollowQuestionnaire) TableName() string {
return TableNamePatientFollowQuestionnaire
}