OpenSlides/client/src/app/shared/models/mediafiles/file.ts
FinnStutzenstein 1ee76de417 Handling of titles, projection and content objects in items
Restructure the titles for motion, motion-block, assignment and topic.
Less possibilities for more clear code. Added mote base models enabling
functionalities of projection and being a content object for items
2018-09-14 08:36:35 +02:00

20 lines
485 B
TypeScript

import { Deserializer } from '../base/deserializer';
/**
* The name and the type of a mediaFile.
* @ignore
*/
export class File extends Deserializer {
public name: string;
public type: string;
/**
* Needs to be fully optional, because the 'mediafile'-property in the mediaFile class is optional as well
* @param name The name of the file
* @param type The tape (jpg, png, pdf)
*/
public constructor(input?: any) {
super(input);
}
}