aboutsummaryrefslogtreecommitdiff
path: root/classes/Offer.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Offer.php')
-rw-r--r--classes/Offer.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/Offer.php b/classes/Offer.php
index 8fa9ba7..16e0d20 100644
--- a/classes/Offer.php
+++ b/classes/Offer.php
@@ -25,10 +25,16 @@
* An interface to the offer table in the database
*/
class Offer extends Model{
+ /** {@inheritDoc} */
public
$table = 'offer',
$fillable_columns = ['contactId', 'start_date', 'end_date', 'invoice_date', 'accepted', 'invoice_fileId', 'payment_key'];
+ /**
+ * {@inheritDoc}
+ * @param $key {@inheritDoc}
+ * @param $value {@inheritDoc}
+ */
protected function accessor($key, $value) {
switch ($key) {
case 'start_date':
@@ -45,6 +51,11 @@ class Offer extends Model{
}
}
+ /**
+ * {@inheritDoc}
+ * @param $key {@inheritDoc}
+ * @param $value {@inheritDoc}
+ */
protected function mutator($key, $value) {
switch ($key) {
case 'start_date':