package entity

type Apartment struct {
	Id      int64  `json:"id"`
	Name    string `json:"name"`
	Address string `json:"address"`
}

type GetApartmentResponse struct {
	Response
	Data Apartment `json:"data"`
}

type ListApartmentResponse struct {
	Response
	Data []Apartment `json:"data"`
}

type CreateApartmentRequest struct {
	Name          string  `json:"name"`
	LocationLat   float64 `json:"location_lat"`
	LocationLong  float64 `json:"location_long"`
	Country       int     `json:"country"`
	StateProvince int     `json:"state_province"`
	City          int     `json:"city"`
	Ward          int     `json:"ward"`
	Address       string  `json:"address"`
}

type CreateApartmentResponse struct {
	Response
	Data Apartment `json:"data"`
}
