funky-framadate-front/src/app/core/models/vote.model.ts

14 lines
238 B
TypeScript
Raw Normal View History

export class Vote {
2021-04-28 12:24:41 +02:00
public choice_id: number = 0;
public value: string = ''; // valeur de réponse
constructor(choice_id?, value?) {
if (choice_id) {
this.choice_id = choice_id;
}
if (value) {
this.value = value;
}
}
}