OpenSlides/client/src/app/shared/models/assignments/poll-option.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

25 lines
579 B
TypeScript

import { Deserializer } from '../base/deserializer';
/**
* Representation of a poll option
*
* part of the 'polls-options'-array in poll
* @ignore
*/
export class PollOption extends Deserializer {
public id: number;
public candidate_id: number;
public is_elected: boolean;
public votes: number[];
public poll_id: number;
public weight: number;
/**
* Needs to be completely optional because poll has (yet) the optional parameter 'poll-options'
* @param input
*/
public constructor(input?: any) {
super(input);
}
}