You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
300 B

  1. import { Segment } from '@/domain/models/tasks/segmentation'
  2. export class SegmentationDTO {
  3. id: number
  4. uuid: string
  5. label: number
  6. points: number[]
  7. constructor(item: Segment) {
  8. this.id = item.id
  9. this.uuid = item.uuid
  10. this.label = item.label
  11. this.points = item.points
  12. }
  13. }