kivitendo/SL/DB/ContactDepartment.pm @ e7354364
371ab59d | Bernd Bleßmann | # This file has been auto-generated only because it didn't exist.
|
||
# Feel free to modify it at will; it will not be overwritten automatically.
|
||||
package SL::DB::ContactDepartment;
|
||||
use strict;
|
||||
30d53fc8 | Bernd Bleßmann | use SL::Util qw(trim);
|
||
371ab59d | Bernd Bleßmann | use SL::DB::MetaSetup::ContactDepartment;
|
||
use SL::DB::Manager::ContactDepartment;
|
||||
__PACKAGE__->meta->initialize;
|
||||
30d53fc8 | Bernd Bleßmann | __PACKAGE__->before_save('_before_save_trim_content');
|
||
sub _before_save_trim_content {
|
||||
$_[0]->description(trim($_[0]->description));
|
||||
return 1;
|
||||
}
|
||||
371ab59d | Bernd Bleßmann | 1;
|