Add paper presentation confirmation
Change-Id: I31b8cc168800d0bae889a2d7cbe7d21116828594
diff --git a/User.php b/User.php
index 8326033..e7efc44 100644
--- a/User.php
+++ b/User.php
@@ -34,6 +34,7 @@
public $lunch_day_3;
public float $total_due;
public $invoice;
+ public bool $presentation_confirmed;
function __construct()
{
@@ -67,8 +68,23 @@
$this->lunch_day_3 = "";
$this->total_due = 0.0;
$this->invoice = "";
+ $this->presentation_confirmed = false;
}
+ function set_name_and_paper_id($first_name, $last_name, $paper_id): User
+ {
+ $this->first_name = $first_name;
+ $this->last_name = $last_name;
+ $this->accepted_paper_id = $paper_id;
+ return $this;
+ }
+
+ function set_email_and_paper_id($email, $paper_id): User
+ {
+ $this->email = $email;
+ $this->accepted_paper_id = $paper_id;
+ return $this;
+ }
function __construct1(object $data)
{
foreach ($data as $key => $value) {