formatting changes
[dbsrgits/SQL-Translator-2.0-ish.git] / lib / SQL / Translator / Object / Schema.pm
1 package SQL::Translator::Object::Schema;
2 use Moose;
3 use MooseX::Types::Moose qw(HashRef Str);
4 use SQL::Translator::Types qw(Procedure Table View);
5 extends 'SQL::Translator::Object';
6
7 has 'name' => (
8   is => 'rw',
9   isa => Str,
10   required => 1,
11   default => '__DEFAULT__'
12 );
13
14 has 'tables' => (
15   is => 'rw',
16   isa => HashRef[Table],
17   required => 0
18 );
19
20 has 'views' => (
21   is => 'rw',
22   isa => HashRef[View],
23   required => 0
24 );
25
26 has 'procedures' => (
27   is => 'rw',
28   isa => HashRef[Procedure],
29   required => 0
30 );
31
32 1;