package myHive::Model::Site::Schedule;
use Moose;
use namespace::autoclean;
use DateTime;
extends 'Catalyst::Model';

=head1 NAME

myHive::Model::Site::Schedule - Catalyst Model

=head1 DESCRIPTION

Catalyst Model.

=head1 AUTHOR

root

=head1 LICENSE

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut


has 'account'   => ( is => 'rw', isa => 'Int', default => 0 );
has 'id'        => ( is => 'rw', isa => 'Int', default => 0 );
has 'site'	=> ( is => 'rw', isa => 'Int', default => 0 );
has 'date'	=> ( is => 'rw', isa => 'DateTime', default => sub {  return  DateTime->now( time_zone => 'UTC' ); });
has 'type'      => ( is => 'rw', isa => 'Int', default => 0 );




__PACKAGE__->meta->make_immutable;

1;
