784ad7709c0a9f25c7d89eeaf3500760ac46702a
[yaffs-website] / web / modules / contrib / permissions_by_term / src / Model / NodeAccessRecordModel.php
1 <?php
2
3 namespace Drupal\permissions_by_term\Model;
4
5 class NodeAccessRecordModel {
6
7   /**
8    * @var int $nid
9    */
10   public $nid;
11
12   /**
13    * @var string $langcode
14    */
15   public $langcode;
16
17   /**
18    * @var int $fallback
19    */
20   public $fallback;
21
22   /**
23    * @var int $gid
24    */
25   public $gid;
26
27   /**
28    * @var string $realm
29    */
30   public $realm;
31
32   /**
33    * @var int $grant_view
34    */
35   public $grant_view;
36
37   /**
38    * @var int $grant_update
39    */
40   public $grant_update;
41
42   /**
43    * @var int $grant_delete
44    */
45   public $grant_delete;
46
47   /**
48    * @return int
49    */
50   public function getNid()
51   {
52     return $this->nid;
53   }
54
55   /**
56    * @param int $nid
57    */
58   public function setNid($nid)
59   {
60     $this->nid = $nid;
61   }
62
63   /**
64    * @return string
65    */
66   public function getLangcode()
67   {
68     return $this->langcode;
69   }
70
71   /**
72    * @param string $langcode
73    */
74   public function setLangcode($langcode)
75   {
76     $this->langcode = $langcode;
77   }
78
79   /**
80    * @return int
81    */
82   public function getFallback()
83   {
84     return $this->fallback;
85   }
86
87   /**
88    * @param int $fallback
89    */
90   public function setFallback($fallback)
91   {
92     $this->fallback = $fallback;
93   }
94
95   /**
96    * @return int
97    */
98   public function getGid()
99   {
100     return $this->gid;
101   }
102
103   /**
104    * @param int $gid
105    */
106   public function setGid($gid)
107   {
108     $this->gid = $gid;
109   }
110
111   /**
112    * @return string
113    */
114   public function getRealm()
115   {
116     return $this->realm;
117   }
118
119   /**
120    * @param string $realm
121    */
122   public function setRealm($realm)
123   {
124     $this->realm = $realm;
125   }
126
127   /**
128    * @return int
129    */
130   public function getGrantView()
131   {
132     return $this->grant_view;
133   }
134
135   /**
136    * @param int $grant_view
137    */
138   public function setGrantView($grant_view)
139   {
140     $this->grant_view = $grant_view;
141   }
142
143   /**
144    * @return int
145    */
146   public function getGrantUpdate()
147   {
148     return $this->grant_update;
149   }
150
151   /**
152    * @param int $grant_update
153    */
154   public function setGrantUpdate($grant_update)
155   {
156     $this->grant_update = $grant_update;
157   }
158
159   /**
160    * @return int
161    */
162   public function getGrantDelete()
163   {
164     return $this->grant_delete;
165   }
166
167   /**
168    * @param int $grant_delete
169    */
170   public function setGrantDelete($grant_delete)
171   {
172     $this->grant_delete = $grant_delete;
173   }
174
175 }