snapshot schedule source data
This commit is contained in:
parent
14fe2fcb46
commit
f500bd6095
14 changed files with 84 additions and 87 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace App\Schedule;
|
||||
|
||||
use App\Set\Set;
|
||||
use App\User\User;
|
||||
use DateTimeImmutable;
|
||||
|
||||
|
|
@ -14,7 +13,7 @@ final readonly class Schedule
|
|||
public function __construct(
|
||||
private int $id,
|
||||
private User $user,
|
||||
private Set $set,
|
||||
private string $setName,
|
||||
private string $elementKind,
|
||||
private DateTimeImmutable $startDate,
|
||||
private DateTimeImmutable $targetDate,
|
||||
|
|
@ -31,9 +30,9 @@ final readonly class Schedule
|
|||
return $this->user;
|
||||
}
|
||||
|
||||
public function getSet(): Set
|
||||
public function getSetName(): string
|
||||
{
|
||||
return $this->set;
|
||||
return $this->setName;
|
||||
}
|
||||
|
||||
public function getElementKind(): string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue