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.

18 lines
370 B

  1. import { Span } from '~/domain/models/tasks/sequenceLabeling'
  2. export class SpanDTO {
  3. id: number;
  4. label: number;
  5. user: number;
  6. startOffset: number;
  7. endOffset: number;
  8. constructor(item: Span) {
  9. this.id = item.id;
  10. this.label = item.label;
  11. this.user = item.user;
  12. this.startOffset = item.startOffset;
  13. this.endOffset = item.endOffset;
  14. }
  15. }