database_models_BugFiles.js

const Sequelize = require('sequelize');

/**
 * @typedef bugFiles
 * @property {Sequelize.STRING} name                - Le nom du bug reporté.
 * @property {Sequelize.STRING} data                - <span style="color:orange">La data du bug reporté.</span>
 * @property {Sequelize.STRING} size                - <span style="color:orange">La taille du texte du bug reporté.</span>
 * @property {Sequelize.STRING} encoding            - <span style="color:orange">Le encoding est la façon de transmettre le texte.</span>
 * @property {Sequelize.STRING} truncated           - <span style="color:orange">Le truncate supprime toutes les lignes d’une table.</span>
 * @property {Sequelize.STRING} mimetype            - <span style="color:red">Il permet de transmettre avec un message transmis</span>
 * @property {Sequelize.STRING} md5                 - <span style="color:orange">c'est un protocole de chiffrement qui sert à authentifier les messages.</span>
 * @memberof Myintranet.Database
 */
module.exports = {
    name: Sequelize.STRING,
    data: Sequelize.BLOB("long"),
    size:  Sequelize.STRING,
    encoding:  Sequelize.STRING,
    truncated:  Sequelize.STRING,
    mimetype:  Sequelize.STRING,
    md5:  Sequelize.STRING,
};