| 123456789101112131415161718192021222324252627282930 |
- import { Num, Uid, Attr, Str } from 'pinia-orm/dist/decorators'
- import type { Historical } from '~/types/interfaces'
- import Person from '~/models/Person/Person'
- import ApiModel from '~/models/ApiModel'
- import { IriEncoded } from '~/models/decorators'
- import Organization from '~/models/Organization/Organization'
- /**
- * AP2i Model : UserSearchItem
- *
- * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Custom/Search/UserSearchItem.php
- */
- export default class UserSearchItem extends ApiModel {
- static override entity = 'search/users'
- @Uid()
- declare id: number | string
- @Str('')
- declare username: string
- @Str('')
- declare name: string
- @Str('')
- declare givenName: string
- @Str('')
- declare fullName: string
- }
|