sequelize 自定义时间戳 createdAt updatedAt

let sequelize = new Sequelize( config.dataBase.name, config.dataBase.account , config.dataBase.password ,{
    host: config.dataBase.host ,
    dialect: config.dataBase.type ,
    dialectOptions: {
        "encrypt": false
    },
    define: {
        timestamps: true,
        createdAt: "CreatedAt",  //自定义时间戳
        updatedAt: "UpdatedAt", // 自定义时间戳
    },
    timezone: '+08:00', //东八时区
    pool: {
        max: 5000,
        min: 0,
        idle: 10000
    },
})