32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class CreditKeyProductBusinessContribution extends Model {
|
|
|
|
}
|
|
CreditKeyProductBusinessContribution.init(
|
|
{
|
|
pd_id: { type: DataTypes.INTEGER },
|
|
product_name: { type: DataTypes.STRING }, // gen info
|
|
contribution_business_product: { type: DataTypes.STRING },
|
|
remarks: { type: DataTypes.STRING },
|
|
company_name: { type: DataTypes.STRING },
|
|
business_process: { type: DataTypes.STRING },
|
|
common_remarks: { type: DataTypes.STRING },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER },
|
|
name_of_the_company: { type: DataTypes.STRING }, // new
|
|
display_order: { type: DataTypes.INTEGER }
|
|
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'credit_key_products_and_business_contribution',
|
|
modelName: 'CreditKeyProductBusinessContribution',
|
|
}
|
|
)
|
|
|
|
|
|
return CreditKeyProductBusinessContribution
|
|
} |