3 * Bacula® - The Network Backup Solution
\r
4 * Baculum - Bacula web interface
\r
6 * Copyright (C) 2013-2014 Marcin Haba
\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
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
17 * Bacula® is a registered trademark of Kern Sibbald.
\r
20 class VolumeRecord extends ActiveRecord {
21 const TABLE = 'Media';
\r
28 public $mediatypeid;
\r
30 public $firstwritten;
\r
31 public $lastwritten;
\r
39 public $volapadding;
\r
40 public $volholebytes;
\r
45 public $maxvolbytes;
\r
46 public $volcapacitybytes;
\r
50 public $actiononpurge;
\r
51 public $volretention;
\r
52 public $voluseduration;
\r
54 public $maxvolfiles;
\r
58 public $mediaaddressing;
\r
59 public $volreadtime;
\r
60 public $volwritetime;
\r
64 public $recyclecount;
\r
65 public $initialwrite;
\r
66 public $scratchpoolid;
\r
67 public $recyclepoolid;
\r
73 public static function finder($className = __CLASS__) {
74 return parent::finder($className);