| 12345678910111213141516171819202122232425262728293031323334 |
- import { Attr, Num, Str, Uid } from 'pinia-orm/dist/decorators'
- import ApiResource from '~/models/ApiResource'
- /**
- * The Dolibarr account of an organization
- *
- * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/ApiResources/Dolibarr/DolibarrAccount.php
- */
- export default class DolibarrAccount extends ApiResource {
- static entity = 'dolibarr/account'
- @Uid()
- declare id: number | string | null
- @Num(0, { notNullable: true })
- declare organizationId: number
- @Str(null)
- declare clientNumber: string
- @Str(null)
- declare product: string
- @Attr({})
- declare contract: object
- @Attr([])
- declare bills: Array<{
- ref: string
- date: string
- taxExcludedAmount: number
- paid: boolean
- }>
- }
|