package MG::Country;

use strict;

use base qw(MG::DB::Object::AutoBase1);

__PACKAGE__->meta->setup(
    table   => 'countrys',

    columns => [
        uid         => { type => 'integer', not_null => 1 },
        CountryCode => { type => 'character', default => '', length => 2, not_null => 1 },
        CountryName => { type => 'varchar', default => '', length => 255, not_null => 1 },
        Live        => { type => 'character', default => 'N', length => 1, not_null => 1 },
    ],

    primary_key_columns => [ 'uid' ],
#	error_mode => 'return'
);

1;

