<?php

namespace App\Domains\Event\Actions\CreateEvent;

use App\Enumerations\ParticipationFeeType;
use DateTime;

class CreateEventRequest {
    public string $name;
    public string $location;
    public string $postalCode;
    public string $email;
    public DateTime $begin;
    public DateTime $end;
    public DateTime $earlyBirdEnd;
    public DateTime $registrationFinalEnd;
    public int $earlyBirdEndAmountIncrease;
    public ParticipationFeeType $participationFeeType;
    public string $accountOwner;
    public string $accountIban;
    public bool $payPerDay;

    public function __construct(string $name, string $location, string $postalCode, string $email, DateTime $begin, DateTime $end, DateTime $earlyBirdEnd, DateTime $registrationFinalEnd, int $earlyBirdEndAmountIncrease, ParticipationFeeType $participationFeeType, string $accountOwner, string $accountIban, bool $payPerDay) {
        $this->name = $name;
        $this->location = $location;
        $this->postalCode = $postalCode;
        $this->email = $email;
        $this->begin = $begin;
        $this->end = $end;
        $this->earlyBirdEnd = $earlyBirdEnd;
        $this->registrationFinalEnd = $registrationFinalEnd;
        $this->earlyBirdEndAmountIncrease = $earlyBirdEndAmountIncrease;
        $this->participationFeeType = $participationFeeType;
        $this->accountOwner = $accountOwner;
        $this->accountIban = $accountIban;
        $this->payPerDay = $payPerDay;
    }
}
