summaryrefslogtreecommitdiff
path: root/tests/unit/Data/ActiveRecord/records/DepartmentRecord.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Data/ActiveRecord/records/DepartmentRecord.php')
-rw-r--r--tests/unit/Data/ActiveRecord/records/DepartmentRecord.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unit/Data/ActiveRecord/records/DepartmentRecord.php b/tests/unit/Data/ActiveRecord/records/DepartmentRecord.php
new file mode 100644
index 00000000..b60c7930
--- /dev/null
+++ b/tests/unit/Data/ActiveRecord/records/DepartmentRecord.php
@@ -0,0 +1,16 @@
+<?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);
+ }
+}