participant.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. export enum ParticipantStatusEnum
  2. {
  3. EN_ATTENTE = "En attente",
  4. PAYE_CHEQUE = "Payé chèque",
  5. PAYE_ESPECES = "Payé espèces",
  6. VIREMENT_BANCAIRE = "Virement bancaire",
  7. VIREMENT_PAYPAL = "Virement Paypal",
  8. ORGA = "Orga",
  9. GUEST = "Guest",
  10. }
  11. export enum ParticipantModePaiementEnum
  12. {
  13. CHEQUE = "Chèque",
  14. VIREMENT = "Virement",
  15. PAYPAL = "Paypal",
  16. ESPECES = "Espèces",
  17. AUTRE = "Autre",
  18. }
  19. export class Participant
  20. {
  21. dateCreation: string = "";
  22. dateModification: string = "";
  23. numeroParticipant: number = 0;
  24. nom: string = "";
  25. prenom: string = "";
  26. pseudonyme: string = "";
  27. groupe: string = "";
  28. motDePasse: string = "";
  29. passwordExpired: boolean = false;
  30. dateExpiration: string = "";
  31. delaiDeconnexion: number = 15;
  32. adresse: string = "";
  33. codePostal: string = "";
  34. ville: string = "";
  35. pays: string = "";
  36. numeroTelephone: string = "";
  37. email: string = "";
  38. status: ParticipantStatusEnum = ParticipantStatusEnum.EN_ATTENTE;
  39. withMachine: boolean = true;
  40. commentaire: string = "";
  41. hereDay1: boolean = false;
  42. hereDay2: boolean = false;
  43. hereDay3: boolean = false;
  44. sleepingOnSite: boolean = true;
  45. useAmigabus: boolean = false;
  46. modePaiement: ParticipantModePaiementEnum = ParticipantModePaiementEnum.CHEQUE;
  47. dateInscription: string = "";
  48. sommeRecue: string = "";
  49. arrived: boolean = false;
  50. }
  51. export class ParticipantShort
  52. {
  53. numeroParticipant: number = 0;
  54. nom: string = "";
  55. prenom: string = "";
  56. pseudonyme: string = "";
  57. }