18 lines
483 B
JavaScript
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;
|
|
} |