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