Tag.ts 399 B

1234567891011121314151617
  1. import { Uid, Str } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * Maestro Model : News
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/maestro/-/blob/master/src/Entity/News/News.php?ref_type=heads
  7. */
  8. export default class Tag extends ApiModel {
  9. static entity = 'tags'
  10. @Uid()
  11. declare id: number | string
  12. @Str(null)
  13. declare name: string | null
  14. }