ad96ee259960f419f5694ecb72587dc276e412f8
[kivitendo-erp.git] / SL / DB / TaxZone.pm
1 # This file has been auto-generated only because it didn't exist.
2 # Feel free to modify it at will; it will not be overwritten automatically.
3
4 package SL::DB::TaxZone;
5
6 use strict;
7
8 use SL::DB::MetaSetup::TaxZone;
9 use SL::DB::Manager::TaxZone;
10 use SL::DB::Helper::ActsAsList;
11
12 __PACKAGE__->meta->initialize;
13
14 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
15 #__PACKAGE__->meta->make_manager_class;
16
17 sub validate {
18   my ($self) = @_;
19
20   my @errors;
21   push @errors, $::locale->text('The description is missing.') if !$self->description;
22
23   return @errors;
24 }
25
26 1;