package model

import "time"

type Apartment struct {
	Id            int64     `json:"id" gorm:"column=id:PRIMARY"`
	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"`
	Status        int       `json:"status"`
	CreatedBy     int64     `json:"created_by"`
	CreatedAt     time.Time `gorm:"column=created_at;autoCreateTime" json:"created_at"`
	UpdatedAt     time.Time `gorm:"column=updated_at;autoUpdateTime" json:"updated_at"`
}
