Projekt

Allgemein

Profil

Herunterladen (1,49 KB) Statistiken
| Zweig: | Markierung: | Revision:
4fd22b56 Sven Schöling
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::Contact;

use strict;

2ea07c13 Sven Schöling
use parent qw(SL::DB::Object);
4fd22b56 Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->table('contacts');

__PACKAGE__->meta->columns(
3eb3d1b1 Moritz Bunkus
cp_abteilung => { type => 'text' },
cp_birthday => { type => 'date' },
cp_city => { type => 'text' },
b8b112a3 Sven Schöling
cp_cv_id => { type => 'integer' },
cp_email => { type => 'text' },
cp_fax => { type => 'text' },
3eb3d1b1 Moritz Bunkus
cp_gender => { type => 'character', length => 1 },
57485556 Moritz Bunkus
cp_givenname => { type => 'text' },
3eb3d1b1 Moritz Bunkus
cp_id => { type => 'integer', not_null => 1, sequence => 'id' },
f5ced930 Moritz Bunkus
cp_main => { type => 'boolean', default => 'false' },
b8b112a3 Sven Schöling
cp_mobile1 => { type => 'text' },
cp_mobile2 => { type => 'text' },
57485556 Moritz Bunkus
cp_name => { type => 'text' },
cp_phone1 => { type => 'text' },
cp_phone2 => { type => 'text' },
cp_position => { type => 'text' },
b8b112a3 Sven Schöling
cp_privatemail => { type => 'text' },
3eb3d1b1 Moritz Bunkus
cp_privatphone => { type => 'text' },
cp_project => { type => 'text' },
cp_satfax => { type => 'text' },
cp_satphone => { type => 'text' },
b8b112a3 Sven Schöling
cp_street => { type => 'text' },
57485556 Moritz Bunkus
cp_title => { type => 'text' },
b8b112a3 Sven Schöling
cp_zipcode => { type => 'text' },
3eb3d1b1 Moritz Bunkus
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
4fd22b56 Sven Schöling
);

b8b112a3 Sven Schöling
__PACKAGE__->meta->primary_key_columns([ 'cp_id' ]);

__PACKAGE__->meta->allow_inline_column_values(1);

4fd22b56 Sven Schöling
1;
;