mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
14 lines
238 B
TypeScript
14 lines
238 B
TypeScript
export class Vote {
|
|
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;
|
|
}
|
|
}
|
|
}
|