Materiel.php
2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* Materiel Entity.
*
* @property int $id
* @property string $designation
* @property int $sur_categorie_id
* @property \App\Model\Entity\SurCategory $sur_category
* @property int $categorie_id
* @property \App\Model\Entity\Category $category
* @property int $sous_categorie_id
* @property \App\Model\Entity\SousCategory $sous_category
* @property string $numero_laboratoire
* @property string $description
* @property bool $materiel_administratif
* @property bool $materiel_technique
* @property string $status
* @property \Cake\I18n\Time $date_acquisition
* @property string $fournisseur
* @property float $prix_ht
* @property string $eotp
* @property string $numero_commande
* @property string $code_comptable
* @property string $numero_serie
* @property int $groupes_thematique_id
* @property \App\Model\Entity\GroupesThematique $groupes_thematique
* @property int $groupes_metier_id
* @property \App\Model\Entity\GroupesMetier $groupes_metier
* @property string $numero_inventaire_organisme
* @property string $numero_inventaire_old
* @property \Cake\I18n\Time $date_archivage
* @property bool $etiquette
* @property string $lieu_stockage
* @property string $lieu_detail
* @property string $nom_responsable
* @property string $email_responsable
* @property string $nom_createur
* @property string $nom_modificateur
* @property \Cake\I18n\Time $created
* @property \Cake\I18n\Time $modified
* @property \Cake\I18n\Time $date_reception
* @property int $organisme_id
* @property \App\Model\Entity\Organisme $organisme
* @property int $site_id
* @property \App\Model\Entity\Site $site
* @property \App\Model\Entity\Document[] $documents
* @property \App\Model\Entity\Emprunt[] $emprunts
* @property \App\Model\Entity\Suivi[] $suivis
*/
class Materiel 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 = [
'*' => true,
'id' => false,
];
}