# Movable Type (r) Open Source (C) 2001-2012 Six Apart, Ltd.
# This program is distributed under the terms of the
# GNU General Public License, version 2.
#
# $Id$

package MT::TheSchwartz::FuncMap;
use strict;
use base qw( MT::Object );

__PACKAGE__->install_properties(
    {   column_defs => {
            funcid => 'integer not null auto_increment'
            ,    # int unsigned primary key not null auto_increment
            funcname => 'string(255) not null',    # varchar(255) not null
        },
        datasource  => 'ts_funcmap',
        primary_key => 'funcid',
        indexes     => { funcname => { unique => 1, }, },

        # not captured:
        # unique(funcname)
    }
);

sub class_label {
    MT->translate("Job Function");
}

1;
