57 lines
2.7 KiB
Go
57 lines
2.7 KiB
Go
package model
|
|
|
|
import "time"
|
|
|
|
type TransformedTourModel struct {
|
|
ID string `json:"id"`
|
|
Done bool `json:"done"`
|
|
Direction string `json:"direction"`
|
|
CarName string `json:"carName"`
|
|
OperationID string `json:"operationId"`
|
|
DriverID string `json:"driverId"`
|
|
DriverName string `json:"driverName"`
|
|
CodriverID string `json:"codriverId"`
|
|
CodriverName string `json:"codriverName"`
|
|
PatientID string `json:"patientId"`
|
|
PatientName string `json:"patientName"`
|
|
PatientSurname string `json:"patientSurname"`
|
|
PatientStreet string `json:"patientStreet"`
|
|
PatientZip string `json:"patientZip"`
|
|
PatientCity string `json:"patientCity"`
|
|
HealthInsurance string `json:"healthInsurance"`
|
|
HealthInsuranceNumber string `json:"healthInsuranceNumber"`
|
|
Type string `json:"type"`
|
|
Category string `json:"category"`
|
|
TransportType string `json:"transportType"`
|
|
OrdinanceType string `json:"ordinanceType"`
|
|
RangeEndDate time.Time `json:"rangeEndDate"`
|
|
StartInstitution string `json:"startInstitution"`
|
|
StartStreet string `json:"startStreet"`
|
|
StartZip string `json:"startZip"`
|
|
StartCity string `json:"startCity"`
|
|
TargetInstitution string `json:"targetInstitution"`
|
|
TargetStreet string `json:"targetStreet"`
|
|
TargetZip string `json:"targetZip"`
|
|
TargetCity string `json:"targetCity"`
|
|
StartDate time.Time `json:"startDate"`
|
|
Check int `json:"check"`
|
|
OccupiedKm float64 `json:"occupiedKm"`
|
|
TotalKm float64 `json:"totalKm"`
|
|
StartBegin string `json:"startBegin"`
|
|
StartEnd string `json:"startEnd"`
|
|
Target string `json:"target"`
|
|
TargetBegin string `json:"targetBegin"`
|
|
Empty string `json:"empty"`
|
|
HasInfection bool `json:"hasInfection"`
|
|
InfectionName string `json:"infectionName"`
|
|
RevenueDispoLive float64 `json:"revenueDispoLive"`
|
|
BillDate time.Time `json:"billDate"`
|
|
BillNumber string `json:"billNumber"`
|
|
Revenue float64 `json:"revenue"`
|
|
ConsumptionCosts float64 `json:"consumptionCosts"`
|
|
RevenueDeviation float64 `json:"revenueDeviation"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
DeletedAt time.Time `json:"deletedAt"`
|
|
TicketID string `json:"ticketId"`
|
|
}
|