]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Letter.pm
mebil
[mfinanz.git] / SL / DB / Letter.pm
index a7deeaeeb83d8545c2b097f60b9fbfa1465d212b..27b0cff47060aca16e8592f1bfdcb70822f1b2b3 100644 (file)
@@ -1,24 +1,16 @@
-# 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::Letter;
 
 use strict;
 
+use SL::DB::Helper::AttrHTML;
+use SL::DB::Helper::LinkedRecords;
 use SL::DB::MetaSetup::Letter;
 use SL::DB::Manager::Letter;
 
-__PACKAGE__->meta->add_relationships(
-  customer  => {
-    type                   => 'many to one',
-    class                  => 'SL::DB::Customer',
-    column_map             => { vc_id => 'id' },
-  },
-
-);
-
 __PACKAGE__->meta->initialize;
 
+__PACKAGE__->attr_html('body');
+
 sub new_from_draft {
   my ($class, $draft) = @_;