import { Str, Uid } from 'pinia-orm/dist/decorators'
import ApiResource from '~/models/ApiResource'

/**
 * AP2i Model : File
 *
 * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Core/File.php
 */
export default class RegistrationStatus extends ApiResource {
  static entity = 'online_registration/status'

  @Uid()
  declare id: number | string | null

  @Str('')
  declare status: 'PENDING' | 'NEGOTIABLE' | 'ACCEPTED' | 'DENIED' | null
}
