argos/dmp-frontend/src/app/core/query/description.lookup.ts

36 lines
855 B
TypeScript
Raw Normal View History

2023-11-29 14:26:40 +01:00
import { Lookup } from '@common/model/lookup';
import { Guid } from '@common/types/guid';
import { IsActive } from '../common/enum/is-active.enum';
import { DescriptionStatus } from '../common/enum/description-status';
import { DmpLookup } from './dmp.lookup';
export class DescriptionLookup extends Lookup implements DescriptionFilter {
ids: Guid[];
excludedIds: Guid[];
like: string;
createdAfter: Date;
createdBefore: Date;
finalizedAfter: Date;
finalizedBefore: Date;
dmpSubQuery: DmpLookup;
isActive: IsActive[];
statuses: DescriptionStatus[];
constructor() {
super();
}
}
export interface DescriptionFilter {
ids: Guid[];
excludedIds: Guid[];
like: string;
createdAfter: Date;
createdBefore: Date;
finalizedAfter: Date;
finalizedBefore: Date;
dmpSubQuery: DmpLookup;
isActive: IsActive[];
statuses: DescriptionStatus[];
}