PlaceSearchItem.ts 429 B

1234567891011121314151617
  1. import { Uid, Str } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * AP2i Model : SearchPlaceItem
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/ApiResource/Search/SearchPlaceItem.php
  7. */
  8. export default class PlaceSearchItem extends ApiModel {
  9. static override entity = 'search/places'
  10. @Uid()
  11. declare id: number | string
  12. @Str('')
  13. declare name: string
  14. }