]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Class/VolumeRecord.php
Add Baculum
[bacula/bacula] / gui / baculum / protected / Class / VolumeRecord.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 VolumeRecord extends ActiveRecord {
21         const TABLE = 'Media';\r
22 \r
23         public $mediaid;\r
24         public $volumename;\r
25         public $slot;\r
26         public $poolid;\r
27         public $mediatype;\r
28         public $mediatypeid;\r
29         public $labeltype;\r
30         public $firstwritten;\r
31         public $lastwritten;\r
32         public $labeldate;\r
33         public $voljobs;\r
34         public $volfiles;\r
35         public $volblocks;\r
36         public $volmounts;\r
37         public $volbytes;\r
38         public $volabytes;\r
39         public $volapadding;\r
40         public $volholebytes;\r
41         public $volholes;\r
42         public $volparts;\r
43         public $volerrors;\r
44         public $volwrites;\r
45         public $maxvolbytes;\r
46         public $volcapacitybytes;\r
47         public $volstatus;\r
48         public $enabled;\r
49         public $recycle;\r
50         public $actiononpurge;\r
51         public $volretention;\r
52         public $voluseduration;\r
53         public $maxvoljobs;\r
54         public $maxvolfiles;\r
55         public $inchanger;\r
56         public $storageid;\r
57         public $deviceid;\r
58         public $mediaaddressing;\r
59         public $volreadtime;\r
60         public $volwritetime;\r
61         public $endfile;\r
62         public $endblock;\r
63         public $locationid;\r
64         public $recyclecount;\r
65         public $initialwrite;\r
66         public $scratchpoolid;\r
67         public $recyclepoolid;\r
68         public $comment;\r
69 \r
70         public $pool;\r
71         public $whenexpire;\r
72 \r
73         public static function finder($className = __CLASS__) {
74                 return parent::finder($className);
75         }\r
76 }\r
77 ?>