]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Class/VolumeRecord.php
baculum: Tweak end of lines (CF+LF => LF)
[bacula/bacula] / gui / baculum / protected / Class / VolumeRecord.php
1 <?php
2 /**
3  * Bacula® - The Network Backup Solution
4  * Baculum - Bacula web interface
5  *
6  * Copyright (C) 2013-2014 Marcin Haba
7  *
8  * The main author of Baculum is Marcin Haba.
9  * The main author of Bacula is Kern Sibbald, with contributions from many
10  * 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  * Bacula® is a registered trademark of Kern Sibbald.
18  */
19
20 class VolumeRecord extends ActiveRecord {
21         const TABLE = 'Media';
22
23         public $mediaid;
24         public $volumename;
25         public $slot;
26         public $poolid;
27         public $mediatype;
28         public $mediatypeid;
29         public $labeltype;
30         public $firstwritten;
31         public $lastwritten;
32         public $labeldate;
33         public $voljobs;
34         public $volfiles;
35         public $volblocks;
36         public $volmounts;
37         public $volbytes;
38         public $volabytes;
39         public $volapadding;
40         public $volholebytes;
41         public $volholes;
42         public $volparts;
43         public $volerrors;
44         public $volwrites;
45         public $maxvolbytes;
46         public $volcapacitybytes;
47         public $volstatus;
48         public $enabled;
49         public $recycle;
50         public $actiononpurge;
51         public $volretention;
52         public $voluseduration;
53         public $maxvoljobs;
54         public $maxvolfiles;
55         public $inchanger;
56         public $storageid;
57         public $deviceid;
58         public $mediaaddressing;
59         public $volreadtime;
60         public $volwritetime;
61         public $endfile;
62         public $endblock;
63         public $locationid;
64         public $recyclecount;
65         public $initialwrite;
66         public $scratchpoolid;
67         public $recyclepoolid;
68         public $comment;
69
70         public $pool;
71         public $whenexpire;
72
73         public static function finder($className = __CLASS__) {
74                 return parent::finder($className);
75         }
76 }
77 ?>