Interface Place

interface Place {
    address: {
        city: {
            department: {
                country: {
                    id: number;
                    name: string;
                };
                id: number;
                name: string;
            };
            id: number;
            name: string;
            zip: string;
        };
        houseNumber: string;
        id: number;
        latitude: number;
        longitude: number;
        otherDetails: string;
        street: string;
        zip: string;
    };
    email: string;
    id: number;
    longDescription: string;
    name: string;
    pictures: {
        hostingUrl: string;
        id: number;
    }[];
    price: number;
    shortDescription: string;
    tags: PlaceTag[];
    telNumber: string;
    type: PlaceType;
    website: string;
}

Properties

address: {
    city: {
        department: {
            country: {
                id: number;
                name: string;
            };
            id: number;
            name: string;
        };
        id: number;
        name: string;
        zip: string;
    };
    houseNumber: string;
    id: number;
    latitude: number;
    longitude: number;
    otherDetails: string;
    street: string;
    zip: string;
}

The address of the place.

Type declaration

  • city: {
        department: {
            country: {
                id: number;
                name: string;
            };
            id: number;
            name: string;
        };
        id: number;
        name: string;
        zip: string;
    }
    • department: {
          country: {
              id: number;
              name: string;
          };
          id: number;
          name: string;
      }
      • country: {
            id: number;
            name: string;
        }
        • id: number
        • name: string
      • id: number
      • name: string
    • id: number
    • name: string
    • zip: string
  • houseNumber: string
  • id: number
  • latitude: number
  • longitude: number
  • otherDetails: string
  • street: string
  • zip: string
email: string

The email of the place.

id: number

The id of the place.

longDescription: string

The long description of the place.

name: string

The name of the place.

pictures: {
    hostingUrl: string;
    id: number;
}[]

The pictures of the place.

Type declaration

  • hostingUrl: string
  • id: number
price: number

The price of the place.

shortDescription: string

The short description of the place.

tags: PlaceTag[]

The tags of the place.

telNumber: string

The telephone number of the place.

type: PlaceType

The type of the place.

website: string

The website of the place.