1ee76de417
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
25 lines
579 B
TypeScript
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);
|
|
}
|
|
}
|