ms_vedio_room.js 2.4 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_video_room', {
        uuid: {
            type: DataTypes.STRING(50),
            allowNull: false,
            primaryKey: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        video_body: {
            type: DataTypes.TEXT,
            allowNull: true
        },
        video_m3u8: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        video_flv: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        video_width: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        video_height: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        video_status: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        video_begin_time: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        video_end_time: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        image_url: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        tag: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        type_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        title: {
            type: DataTypes.STRING(200),
            allowNull: true
        },
        short_title: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        keywords: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        read_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        app_code: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        lottery_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        lottery_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        talk_id: {
            type: DataTypes.STRING(50),
            allowNull: true
        }
    }, {
        tableName: 'ms_video_room'
    });
};
//# sourceMappingURL=ms_vedio_room.js.map