123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- package models
-
- type GobalConfig struct {
- ID int64 `gorm:"column:id" json:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open"`
- Status int64 `gorm:"column:status" json:"status"`
- CreateTime int64 `gorm:"column:create_time" json:"create_time"`
- UpdateTime int64 `gorm:"column:update_time" json:"update_time"`
- IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
- }
-
- func (GobalConfig) TableName() string {
- return "xt_gobal_config"
- }
-
- type DrugStockConfig struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
- UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
- }
-
- func (DrugStockConfig) TableName() string {
- return "xt_drug_stock_config"
- }
-
- type SystemPrescription struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
- Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
- AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
- AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
- AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
- AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
- AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
- ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
- DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
- ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
- HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
- BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
- PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
- BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
- Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
- DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
- Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
- DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
- DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
- Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
- Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
- Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
- Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
- Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
- FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
- AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
- UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
- CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
- UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
- SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
- DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
- Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
- DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
- DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
- TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
- DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
- Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
- ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
- DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
- BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
- SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
- SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
- DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
- DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
- BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
- Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
- BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
- TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
- DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
- DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
- BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
- }
-
- func (SystemPrescription) TableName() string {
- return "xt_system_prescription"
- }
-
- type StDrugCancelStockInfo struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
- CancelStockId int64 `gorm:"column:cancel_stock_id" json:"cancel_stock_id" form:"cancel_stock_id"`
- Count int64 `gorm:"column:count" json:"count" form:"count"`
- Price float64 `gorm:"column:price" json:"price" form:"price"`
- Total float64 `gorm:"column:total" json:"total" form:"total"`
- ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
- ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
- OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
- Type int64 `gorm:"column:type" json:"type" form:"type"`
- Dealer string `gorm:"column:dealer" json:"dealer" form:"dealer"`
- Manufacturer string `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
- RetailTotalPrice float64 `gorm:"column:retail_total_price" json:"retail_total_price" form:"retail_total_price"`
- Number string `gorm:"column:number" json:"number" form:"number"`
- RegisterAccount string `gorm:"column:register_account" json:"register_account" form:"register_account"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
- MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
- BaseDrugLib BaseDrugLib `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" `
- }
-
- func (StDrugCancelStockInfo) TableName() string {
- return "xt_drug_cancel_stock_info"
- }
|