Blame view

src/Model/Entity/Materiel.php 2.42 KB
6c4edfa3   Alexandre   First Commit LabI...
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
<?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
6c4edfa3   Alexandre   First Commit LabI...
37
38
39
40
41
42
43
 * @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
9cfb4997   Alexandre   Version: 2.4.3.10
44
45
46
 * @property \Cake\I18n\Time $date_fin_garantie
 * @property int $duree_garantie
 * @property string $unite_duree_garantie
6c4edfa3   Alexandre   First Commit LabI...
47
48
49
50
 * @property \Cake\I18n\Time $date_reception
 * @property int $organisme_id
 * @property \App\Model\Entity\Organisme $organisme
 * @property int $site_id
4dae83a2   Alexandre   Version: 2.5.1.0
51
 * @property int $photo_id
302307ec   Alexandre   Version: 2.4.7.0
52
 * @property bool $hors_service
6c4edfa3   Alexandre   First Commit LabI...
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 * @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,
    ];
}