tencentRecordInfoModel.js 834 字节
var  sequelize = require('../config');
var Sequelize = require('sequelize');
var uuid = require('../util/UuidUtil')


var  recordInfo = sequelize.define('3m_tencent_record_info', {
    id: {
        type: Sequelize.STRING(32),
        defaultValue:uuid.db32(),
        allowNull: false,
        unique: true,
        primaryKey: true,
        field: "id"
    },
    channelId: {
        allowNull: false,        
        type:Sequelize.STRING(50),
        field: "channel_id"
    },
    recordInfo: {
        allowNull: false,        
        type:Sequelize.STRING(1024),
        field: "record_info"
    },
    createTime: {
        allowNull: false,        
        type:Sequelize.STRING(50),
        field: "create_time"
    }
    
}, {
        timestamps: false,
        freezeTableName: true
    });

module.exports = recordInfo;