<?php

declare(strict_types=1);

namespace App\Scolarite\Domain\Model\HomeworkSubmission;

enum SubmissionStatus: string
{
    case DRAFT = 'draft';
    case SUBMITTED = 'submitted';
    case LATE = 'late';

    public function estModifiable(): bool
    {
        return $this === self::DRAFT;
    }
}
