<?php

namespace App\Models;

class TicketAssignmentModel
{
    public function __construct(
        private ?int $id,
        private int $ticketId,
        private int $teknisiId,
        private int $statusId,
        private ?string $tanggalDitugaskan,
        private ?string $tanggalSelesai,
        private string $statusPenugasan,
        private ?string $catatan
    ) {}

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getTicketId(): int
    {
        return $this->ticketId;
    }

    public function getTeknisiId(): int
    {
        return $this->teknisiId;
    }

    public function getStatusId(): int
    {
        return $this->statusId;
    }

    public function getTanggalDitugaskan(): ?string
    {
        return $this->tanggalDitugaskan;
    }

    public function getTanggalSelesai(): ?string
    {
        return $this->tanggalSelesai;
    }

    public function getStatusPenugasan(): string
    {
        return $this->statusPenugasan;
    }

    public function getCatatan(): ?string
    {
        return $this->catatan;
    }
}
