module.exports = function(sequelize, Sequelize) {
    var agency_subelement = sequelize.define('agency_subelement', {
        subelement_id: {
            autoIncrement: true,
            primaryKey: true,
            type: Sequelize.INTEGER
        },

        agency_id: {
            type: Sequelize.INTEGER
        },

        subelement_code: {
            type: Sequelize.STRING
        },

        subelement_name: {
            type: Sequelize.STRING
        },

        employment: {
            type: Sequelize.INTEGER
        }
    },{
        tableName: "agency_subelement",
        timestamps: false,
        underscored: true
    });

    return agency_subelement;
};