1
0
Files
yel-dspace-angular/src/app/core/metadata/normalized-metadata-schema.model.ts
2019-01-29 16:03:50 +01:00

22 lines
670 B
TypeScript

import { autoserialize } from 'cerialize';
import { NormalizedObject } from '../cache/models/normalized-object.model';
import { mapsTo } from '../cache/builders/build-decorators';
import { CacheableObject } from '../cache/object-cache.reducer';
import { ListableObject } from '../../shared/object-collection/shared/listable-object.model';
import { MetadataSchema } from './metadataschema.model';
@mapsTo(MetadataSchema)
export class NormalizedMetadataSchema extends NormalizedObject<MetadataSchema> implements ListableObject {
@autoserialize
id: number;
@autoserialize
self: string;
@autoserialize
prefix: string;
@autoserialize
namespace: string;
}