|
@@ -1056,16 +1056,17 @@ type VmXtSchedule struct {
|
1056
|
1056
|
}
|
1057
|
1057
|
|
1058
|
1058
|
type PatientDeviceNumber struct {
|
1059
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
1060
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
1061
|
|
- Number string `gorm:"column:number" json:"number" form:"number"`
|
1062
|
|
- GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
|
1063
|
|
- ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
|
1064
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
1065
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
1066
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
1067
|
|
- Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
1068
|
|
- Schedule []*BlodSchedule `json:"schedule" gorm:"foreignkey:BedId;AssociationForeignKey:ID;"`
|
|
1059
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
1060
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
1061
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
1062
|
+ GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
|
|
1063
|
+ ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
|
|
1064
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
1065
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
1066
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
1067
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
1068
|
+ DeviceZone DeviceZone `json:"zone" gorm:"foreignkey:ID;AssociationForeignKey:ZoneId;"`
|
|
1069
|
+ Schedule []*BlodSchedule `json:"schedule" gorm:"foreignkey:BedId;AssociationForeignKey:ID;"`
|
1069
|
1070
|
}
|
1070
|
1071
|
|
1071
|
1072
|
func (PatientDeviceNumber) TableName() string {
|