You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

package domain
type Package struct {
Id uint `json:"id"`
Name string `json:"name"`
Amount int `json:"amount"`
Price float32 `json:"price"`
IsActive bool `json:"isActive"`
}
type Group struct {
Id uint `json:"id"`
Name string `json:"name"`
BookedPackage int `json:"bookedPackage"`
BillingAddress string `json:"billingAddress"`
AuthToken string `json:"authToken"`
IsActive bool `json:"isActive"`
BillingUser int `json:"billingUser"`
}
type User struct {
Id uint `json:"id"`
Password string `json:"password"`
IsAdmin bool `json:"isAdmin"`
Username string `json:"username"`
FullName string `json:"fullName"`
Email string `json:"email"`
GroupId int `json:"groupId"`
IsActive bool `json:"isActive"`
}
type Account struct {
Id uint `json:"id"`
GroupId int `json:"groupId"`
Created string `json:"createDate"`
IsActive bool `json:"isActive"`
}
type Tunnel struct {
Id uint64 `json:"id"`
Name string `json:"name"`
Port int `json:"port"`
IsActive bool `json:"isActive"`
Created string `json:"created"`
RoutedName string `json:"routedName"`
RoutedPort int `json:"routedPort"`
AccountId uint `json:"accountId"`
}