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