rentease/config/host.go
2024-02-24 21:18:56 +01:00

43 lines
655 B
Go

package config
type Host struct {
PaymentMethods []string
Platforms []string
Items []HostItem
CustomerSeed int
}
type HostItem struct {
Name string
Price float64
}
func NewHost() *Host {
return &Host{
CustomerSeed: 286,
PaymentMethods: []string{"Card", "Cash", "Cheque", "Transfer"},
Platforms: []string{"Booking", "AirBnb", "TripAdvisor", "Other"},
Items: []HostItem{
{
Name: "T2",
Price: 59.0,
},
{
Name: "T3",
Price: 80.0,
},
{
Name: "Airport",
Price: 25.0,
},
{
Name: "Port",
Price: 20.0,
},
{
Name: "Taxes",
Price: 1.5,
},
},
}
}