32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class CreditFinalRemarks extends Model {
|
|
|
|
}
|
|
CreditFinalRemarks.init(
|
|
{
|
|
pd_id: { type: DataTypes.INTEGER },
|
|
customer_behaviour: { type: DataTypes.STRING },
|
|
customer_behaviour_other: { type: DataTypes.STRING },
|
|
business_location_suited: { type: DataTypes.STRING },
|
|
pd_officer_recommendation: { type: DataTypes.STRING },
|
|
pd_officer_recommendation_other: { type: DataTypes.STRING },
|
|
pd_officer_recommendation_name: { type: DataTypes.STRING },
|
|
customer_behaviour_name: { type: DataTypes.STRING },
|
|
reason: { type: DataTypes.STRING },
|
|
final_form_remarks: { type: DataTypes.STRING },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'credit_final_remarks',
|
|
modelName: 'CreditFinalRemarks',
|
|
}
|
|
)
|
|
|
|
|
|
return CreditFinalRemarks
|
|
} |