module.exports = (db, DataTypes) => {
  return db.define("sdb_role", {
    rolecode: DataTypes.STRING,
    bizcode: DataTypes.STRING,
    codepath: DataTypes.STRING,
    authstrs: DataTypes.STRING
  },{
     paranoid: true,//假的删除
     underscored: true,
     version: true,
     freezeTableName: true,
     //freezeTableName: true,
     // define the table's name
     tableName: 'p_role',
     validate: {
     }
  });
}
