EscolaLMS/Consultations

View on GitHub
src/Dto/ChangeTermConsultationDto.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace EscolaLms\Consultations\Dto;

class ChangeTermConsultationDto extends BaseDto
{
    protected string $executedAt;
    protected string $term;
    protected ?int $userId = null;
    protected ?bool $accept = null;

    protected function setExecutedAt(string $executedAt): void
    {
        $this->executedAt = $executedAt;
    }

    public function getExecutedAt(): string
    {
        return $this->executedAt;
    }

    protected function setTerm(string $term): void
    {
        $this->term = $term;
    }

    public function getTerm(): string
    {
        return $this->term;
    }

    protected function setUserId(int $userId): void
    {
        $this->userId = $userId;
    }

    public function getUserId(): ?int
    {
        return $this->userId;
    }

    protected function setAccept(bool $accept): void
    {
        $this->accept = $accept;
    }

    public function getAccept(): ?bool
    {
        return $this->accept;
    }
}