antrean tes

This commit is contained in:
2025-12-01 11:32:33 +07:00
parent 266d937c51
commit bd02bb83a7
7 changed files with 302 additions and 11 deletions
+40
View File
@@ -0,0 +1,40 @@
package antrean
type Antrean struct {
ID int `gorm:"column:id" json:"id"`
Name string `gorm:"column:name" json:"name"`
Icon string `gorm:"column:icon" json:"icon"`
URL string `gorm:"column:url" json:"url"`
Active bool `gorm:"column:active" json:"active"`
FKrefHealthcare int `gorm:"column:fk_ref_healthcare_type_id" json:"healthcare_type_id"`
DisplayHealth string `gorm:"column:refnamehealth" json:"healthcare_name"`
FKrefserviceType int `gorm:"column:fk_ref_service_type_id" json:"service_type_id"`
DisplayPayment string `gorm:"column:refnamepayment" json:"payment_name"`
FKLocation string `gorm:"column:fk_sd_location_id" json:"location_id"`
DisplayLocation string `gorm:"column:ds_sd_location" json:"display_location"`
}
type Request struct {
ID int `json:"id"`
}
type KioskData struct {
Name string `json:"name"`
Active bool `json:"active"`
Icon string `json:"icon"`
URL string `json:"url"`
FKRefHealthcareTypeID int64 `json:"fk_ref_healthcare_type_id"`
FKRefServiceTypeID int64 `json:"fk_ref_service_type_id"`
FKSDLocationID string `json:"fk_sd_location_id"`
DSSDLocation string `json:"ds_sd_location"`
HealthcareServiceData *HealthcareServiceData `json:"healthcare_service_data,omitempty"`
PaymentTypeData *PaymentTypeData `json:"payment_type_data,omitempty"`
}
type HealthcareServiceData struct {
FKMSHealthcareServiceID int64 `json:"fk_ms_healthcare_service_id"`
}
type PaymentTypeData struct {
FKRefPaymentTypeID int64 `json:"fk_ref_payment_type_id"`
}