LMS/E-Learning-Backend-main/app/models/plan_wise_access.js
2025-09-01 19:37:35 +05:30

18 lines
483 B
JavaScript

module.exports = (sequelize, type) => {
const PlanWiseAccess = sequelize.define('plan_wise_access', {
id: {
type: type.INTEGER,
primaryKey: true,
autoIncrement: true
},
master_plan_id: type.INTEGER,
plan_id: type.INTEGER,
access_id: type.INTEGER,
is_active: type.INTEGER,
status: {
type: type.INTEGER,
defaultValue: 0
}
})
return PlanWiseAccess;
}