22 lines
341 B
PHP
22 lines
341 B
PHP
<?php
|
|
/*
|
|
Author: Riccardo Di Dato
|
|
Creation Date: 13/gen/2016
|
|
*/
|
|
|
|
class TaskModel extends Model{
|
|
|
|
public function __construct($saveableObject = null){
|
|
parent::__construct($saveableObject);
|
|
if (!$this->hasProperty("isActive")){
|
|
$this->isActive = false;
|
|
}
|
|
}
|
|
|
|
public static function getCollectionName(){
|
|
return "task";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|