summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
blob: 61307826bc8ad1415e7fcd51144e43f44965d3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
class DepartmentRecord extends TActiveRecord
{
	public $department_id;
	public $name;
	public $description;
	public $active;
	public $order;

	const TABLE = 'departments';

	public static function finder($className=__CLASS__)
	{
		return parent::finder($className);
	}
}

?>