Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusCreated = 10 StatusInactive = 50 StatusPermanentlyClosed = 100 StatusClosed = 150 StatusActive = 200 )
staus of property
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Address string City string State string CreatedAt time.Time UpdatedAt time.Time IsTest bool IsDeleted bool }
Address of property
type AddressMap ¶
type AddressMap struct { PropertyID string Radius int64 Lat float64 Long float64 CreatedAt time.Time IsTest bool IsDeleted bool }
AddressMap of the property
type Amenities ¶
type Amenities struct { PropertyID string AmenitiesID string CreatedAt time.Time UpdatedAt time.Time IsTest bool IsDeleted bool }
Amenities of property
type Detail ¶
type Detail struct { PropertyID string Address string Amenities []string CreatedAt time.Time UpdatedAt time.Time IsTest bool IsDeleted bool }
Detail of property data
type Property ¶
type Property struct { ID string Owner int64 Name string Type Type Segment Segment // it means we can book the room instead of property HasRooms bool Status Status Detail Detail CreatedAt time.Time UpdatedAt time.Time IsTest bool IsDeleted bool }
Property data
Click to show internal directories.
Click to hide internal directories.