Jums jāizstrādā kāda lielāk projekta prototips. Izstrādājot prototipu, paturiet prātā, ka projektam attīstoties, šo prototipu varētu vajadzēt pilnveidot.
<?php
class ApplicationItem
{
public $id;
public $email;
public $amount;
public $partner;
public $status;
public $date_created;
public $date_modified;
public function __construct($id, $email, $amount, $partner, $status, $date_created, $date_modified)
{
$this->id = $id;
$this->email = $email;
$this->amount = $amount;
$this->partner = $partner;
$this->status = $status;
$this->date_created = $date_created;
$this->date_modified = $date_modified;
}
}
?>