NotificationUsers.ts 540 B

1234567891011121314151617181920212223
  1. import { Bool, Str, Uid } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * AP2i Model : NotificationUser
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Core/NotificationUser.php
  7. */
  8. export default class NotificationUsers extends ApiModel {
  9. static entity = 'notification_users'
  10. @Uid()
  11. declare id: number | string | null
  12. @Str(null)
  13. declare notification: string | null
  14. @Str(null)
  15. declare access: string | null
  16. @Bool(false)
  17. declare isRead: boolean
  18. }