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