summaryrefslogtreecommitdiff
path: root/LedgerSMB/DBObject/Employee.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/DBObject/Employee.pm')
-rw-r--r--LedgerSMB/DBObject/Employee.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/LedgerSMB/DBObject/Employee.pm b/LedgerSMB/DBObject/Employee.pm
new file mode 100644
index 00000000..ddc453a6
--- /dev/null
+++ b/LedgerSMB/DBObject/Employee.pm
@@ -0,0 +1,13 @@
+package LedgerSMB::DBObject::Employee;
+
+use base qw(LedgerSMB::DBObject::Company);
+use strict;
+
+my $ENTITY_CLASS = 3;
+
+sub set_entity_class {
+ my $self = shift @_;
+ $self->{entity_class} = $ENTITY_CLASS;
+}
+
+1;