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