BankAccount.ts 804 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { Bool, Str, Uid, Attr } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * AP2i Model : BankAccount
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Core/BankAccount.php
  7. */
  8. export default class BankAccount extends ApiModel {
  9. static entity = 'bank_accounts'
  10. @Uid()
  11. declare id: number | string | null
  12. @Str(null)
  13. declare bankName: string | null
  14. @Str(null)
  15. declare bic: string | null
  16. @Str(null)
  17. declare bicInvalid: string | null
  18. @Str(null)
  19. declare iban: string | null
  20. @Str(null)
  21. declare ibanInvalid: string | null
  22. @Str(null)
  23. declare debitAddress: string | null
  24. @Str(null)
  25. declare holder: string | null
  26. @Bool(false)
  27. declare principal: boolean
  28. @Attr([])
  29. declare organization: []
  30. }