|
@@ -1,27 +1,25 @@
|
1
|
1
|
package models
|
2
|
2
|
|
3
|
|
-import "CornSch/models"
|
4
|
|
-
|
5
|
3
|
type HisZuobiaoAdvice struct {
|
6
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
7
|
|
- AdviceRequestLog string `gorm:"column:advice_request_log" json:"advice_request_log" form:"advice_request_log"`
|
8
|
|
- AdviceResultLog string `gorm:"column:advice_result_log" json:"advice_result_log" form:"advice_result_log"`
|
9
|
|
- UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
10
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
11
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
12
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
13
|
|
- PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
14
|
|
- RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
15
|
|
- SettleRequestLog string `gorm:"column:settle_request_log" json:"settle_request_log" form:"settle_request_log"`
|
16
|
|
- SettleResultLog string `gorm:"column:settle_result_log" json:"settle_result_log" form:"settle_result_log"`
|
17
|
|
- Cbm01 string `gorm:"column:cbm01" json:"cbm01" form:"cbm01"`
|
18
|
|
- AdiviceIds string `gorm:"column:adivice_ids" json:"adivice_ids" form:"adivice_ids"`
|
19
|
|
- Oid int64 `gorm:"column:oid" json:"oid" form:"oid"`
|
20
|
|
- StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
21
|
|
- EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
|
22
|
|
- Vaa01 string `gorm:"column:vaa01" json:"vaa01" form:"vaa01"`
|
23
|
|
- Vaa07 string `gorm:"column:vaa07" json:"vaa07" form:"vaa07"`
|
24
|
|
- Patient models.Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"his_patient"`
|
|
4
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
5
|
+ AdviceRequestLog string `gorm:"column:advice_request_log" json:"advice_request_log" form:"advice_request_log"`
|
|
6
|
+ AdviceResultLog string `gorm:"column:advice_result_log" json:"advice_result_log" form:"advice_result_log"`
|
|
7
|
+ UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
|
|
8
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
9
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
10
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
11
|
+ PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
|
|
12
|
+ RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
|
|
13
|
+ SettleRequestLog string `gorm:"column:settle_request_log" json:"settle_request_log" form:"settle_request_log"`
|
|
14
|
+ SettleResultLog string `gorm:"column:settle_result_log" json:"settle_result_log" form:"settle_result_log"`
|
|
15
|
+ Cbm01 string `gorm:"column:cbm01" json:"cbm01" form:"cbm01"`
|
|
16
|
+ AdiviceIds string `gorm:"column:adivice_ids" json:"adivice_ids" form:"adivice_ids"`
|
|
17
|
+ Oid int64 `gorm:"column:oid" json:"oid" form:"oid"`
|
|
18
|
+ StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
|
|
19
|
+ EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
|
|
20
|
+ Vaa01 string `gorm:"column:vaa01" json:"vaa01" form:"vaa01"`
|
|
21
|
+ Vaa07 string `gorm:"column:vaa07" json:"vaa07" form:"vaa07"`
|
|
22
|
+ Patient PatientListForFace `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"his_patient"`
|
25
|
23
|
}
|
26
|
24
|
|
27
|
25
|
func (HisZuobiaoAdvice) TableName() string {
|