-
Notifications
You must be signed in to change notification settings - Fork 0
/
DatabaseColumn.php
64 lines (43 loc) · 1.06 KB
/
DatabaseColumn.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
namespace Polyplus\Api\Database;
/**
* Description of DatabaseColumn
*
* @author rodrigohitec
*/
class DatabaseColumn {
private $table;
private $columnName;
private $value;
private $alias;
function __construct(DatabaseTable $table, $columnName, $alias = "") {
$this->table = $table;
$this->columnName = $columnName;
$this->alias = $alias;
}
public function getTable() {
return $this->table;
}
public function setTable(DatabaseTable $table) {
$this->table = $table;
}
public function getColumnName() {
return $this->columnName;
}
public function setColumnName($columnName) {
$this->columnName = $columnName;
}
public function getValue() {
return $this->value;
}
public function setValue($value) {
$this->value = $value;
}
public function getAlias() {
return $this->alias;
}
public function setAlias($alias) {
$this->alias = $alias;
}
}
?>