argos/dmp-frontend/src/app/core/model/supportive-material/supportive-material.ts

21 lines
561 B
TypeScript
Raw Normal View History

import { IsActive } from "@app/core/common/enum/is-active.enum";
2023-11-03 12:30:11 +01:00
import { SupportiveMaterialFieldType } from "@app/core/common/enum/supportive-material-field-type";
import { Guid } from "@common/types/guid";
export interface SupportiveMaterial{
id: Guid;
type: SupportiveMaterialFieldType;
languageCode: string;
payload: string;
createdAt: Date;
updatedAt: Date;
isActive: IsActive;
}
2023-11-03 12:30:11 +01:00
export interface SupportiveMaterialPersist{
id: Guid;
2023-11-03 12:30:11 +01:00
type: SupportiveMaterialFieldType;
languageCode: string;
payload: string;
2023-11-03 12:30:11 +01:00
}