ms_message_stat.js 1.1 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_message_stat', {
        message_stat_id: {
            type: DataTypes.STRING(50),
            allowNull: false,
            primaryKey: true
        },
        message_id: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        type: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        user_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        user_code: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        app_info: {
            type: DataTypes.JSON,
            allowNull: true
        },
        message_options: {
            type: DataTypes.JSON,
            allowNull: true
        }
    }, {
        tableName: 'ms_message_stat'
    });
};
//# sourceMappingURL=ms_message_stat.js.map