Initial commit
This commit is contained in:
46
src/Model/Entity/Budget.php
Normal file
46
src/Model/Entity/Budget.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
namespace App\Model\Entity;
|
||||
|
||||
use Cake\ORM\Entity;
|
||||
|
||||
/**
|
||||
* Budget Entity
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $wl_schooltype_id
|
||||
* @property string $snr
|
||||
* @property int $wl_budget_id
|
||||
* @property int $count
|
||||
* @property string $comment
|
||||
* @property string $year
|
||||
* @property \Cake\I18n\FrozenTime $created
|
||||
* @property \Cake\I18n\FrozenTime $modified
|
||||
*
|
||||
* @property \App\Model\Entity\WlSchooltype $wl_schooltype
|
||||
* @property \App\Model\Entity\WlBudget $wl_budget
|
||||
*/
|
||||
class Budget extends Entity
|
||||
{
|
||||
|
||||
/**
|
||||
* Fields that can be mass assigned using newEntity() or patchEntity().
|
||||
*
|
||||
* Note that when '*' is set to true, this allows all unspecified fields to
|
||||
* be mass assigned. For security purposes, it is advised to set '*' to false
|
||||
* (or remove it), and explicitly make individual fields accessible as needed.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $_accessible = [
|
||||
'wl_schooltype_id' => true,
|
||||
'snr' => true,
|
||||
'wl_budget_id' => true,
|
||||
'count' => true,
|
||||
'comment' => true,
|
||||
'year' => true,
|
||||
'created' => true,
|
||||
'modified' => true,
|
||||
'wl_schooltype' => true,
|
||||
'wl_budget' => true
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user