NotificationMessage.ts 426 B

123456789101112131415161718192021
  1. import { Str, Uid } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * // TODO: qu'est-ce que c'est?
  5. */
  6. export default class NotificationMessage extends ApiModel {
  7. static entity = 'notification_messages'
  8. @Uid()
  9. declare id: number | string | null
  10. @Str(null)
  11. declare about: string | null
  12. @Str(null)
  13. declare action: string | null
  14. @Str(null)
  15. declare fileName: string | null
  16. }