static associate(models) {
			// define association here
			// privilege.hasMany(models.tblmodules,
			// {
			// 	foreignKey: 'module_id',
			// });
			privilege.belongsTo(models.tblmodules,
				{
					foreignKey: "module_id",
					as: "modules"
				});
		}
/**
		 * Helper method for defining associations.
		 * This method is not a part of Sequelize lifecycle.
		 * The `models/index` file will call this method automatically.
		 */
Helper method for defining associations.
This method is not a part of Sequelize lifecycle.
The `models/index` file will call this method automatically.
Helper method for defining associations . This method is not a part of Sequelize lifecycle . The ` models / index ` file will call this method automatically .
static associate(models) {
			privilege.belongsTo(models.tblmodules,
				{
					foreignKey: "module_id",
					as: "modules"
				});
		}
static associate ( models ) { privilege . belongsTo ( models . tblmodules , { foreignKey : "module_id" , as : "modules" } ) ; }
Helper method for defining associations.
Helper method for defining associations .
// define association here // privilege.hasMany(models.tblmodules, // { // 	foreignKey: 'module_id', // });