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

import { Span } from '~/domain/models/tasks/sequenceLabeling'
export class SpanDTO {
id: number;
label: number;
user: number;
startOffset: number;
endOffset: number;
constructor(item: Span) {
this.id = item.id;
this.label = item.label;
this.user = item.user;
this.startOffset = item.startOffset;
this.endOffset = item.endOffset;
}
}