]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Class/PoolRecord.php
Add Baculum
[bacula/bacula] / gui / baculum / protected / Class / PoolRecord.php
1 <?php\r
2 /**\r
3  * Bacula® - The Network Backup Solution\r
4  * Baculum - Bacula web interface\r
5  *\r
6  * Copyright (C) 2013-2014 Marcin Haba\r
7  *\r
8  * The main author of Baculum is Marcin Haba.\r
9  * The main author of Bacula is Kern Sibbald, with contributions from many\r
10  * others, a complete list can be found in the file AUTHORS.\r
11  *\r
12  * You may use this file and others of this release according to the\r
13  * license defined in the LICENSE file, which includes the Affero General\r
14  * Public License, v3.0 ("AGPLv3") and some additional permissions and\r
15  * terms pursuant to its AGPLv3 Section 7.\r
16  *\r
17  * Bacula® is a registered trademark of Kern Sibbald.\r
18  */\r
19  \r
20 class PoolRecord extends ActiveRecord {
21         const TABLE = 'Pool';\r
22 \r
23         public $poolid;\r
24         public $name;\r
25         public $numvols;\r
26         public $maxvols;\r
27         public $useonce;\r
28         public $usecatalog;\r
29         public $acceptanyvolume;\r
30         public $volretention;\r
31         public $voluseduration;\r
32         public $maxvoljobs;\r
33         public $maxvolfiles;\r
34         public $maxvolbytes;\r
35         public $autoprune;\r
36         public $recycle;\r
37         public $actiononpurge;\r
38         public $pooltype;\r
39         public $labeltype;\r
40         public $labelformat;\r
41         public $enabled;\r
42         public $scratchpoolid;\r
43         public $recyclepoolid;\r
44         public $nextpoolid;\r
45         public $migrationhighbytes;\r
46         public $migrationlowbytes;\r
47         public $migrationtime;\r
48         \r
49         public static function finder($className = __CLASS__) {
50                 return parent::finder($className);
51         }\r
52 }\r
53 ?>