argos/dmp-frontend/src/annotation-service/core/model/annotation.model.ts

21 lines
426 B
TypeScript

import { IsActive } from "@app/core/common/enum/is-active.enum";
import { Guid } from "@common/types/guid";
export interface Annotation {
id: Guid;
entityId: Guid;
entityType: string;
anchor?: string;
payload: string;
createdAt: Date;
updatedAt: Date;
isActive: IsActive;
}
export interface AnnotationPersist {
subjectId: Guid;
entityId: Guid;
entityType: string;
anchor: string;
payload: string;
}