Continue fleshing out project management system

This commit is contained in:
Alex Cabal 2024-12-16 14:56:10 -06:00
parent 657ecc68d4
commit 051e286a6d
19 changed files with 420 additions and 108 deletions

26
lib/ProjectReminder.php Normal file
View file

@ -0,0 +1,26 @@
<?
use Safe\DateTimeImmutable;
class ProjectReminder{
public int $ProjectId;
public DateTimeImmutable $Created;
public Enums\ProjectReminderType $Type;
public function Create(): void{
$this->Created = NOW;
Db::Query('
INSERT
into ProjectReminders
(
ProjectId,
Created,
Type
)
values(
?,
?,
?
)
', [$this->ProjectId, $this->Created, $this->Type]);
}
}