2023-01-09 12:35:05 +00:00
|
|
|
import { Sequelize } from 'sequelize';
|
2022-12-05 12:53:30 +00:00
|
|
|
|
|
|
|
const characteristics = {
|
2023-01-11 12:13:22 +00:00
|
|
|
vbnCode: {
|
2023-01-09 12:35:05 +00:00
|
|
|
type: Sequelize.STRING,
|
|
|
|
},
|
2023-01-11 12:13:22 +00:00
|
|
|
vbnValueCode: {
|
2023-01-09 12:35:05 +00:00
|
|
|
type: Sequelize.STRING,
|
|
|
|
},
|
2022-12-05 12:53:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default (sequelize) => {
|
2023-01-09 12:35:05 +00:00
|
|
|
const Characteristics = sequelize.define(
|
|
|
|
'FDcharacteristics',
|
|
|
|
characteristics,
|
|
|
|
{
|
|
|
|
timestamps: false,
|
|
|
|
freezeTableName: true,
|
|
|
|
}
|
|
|
|
);
|
|
|
|
return Characteristics;
|
2022-12-05 12:53:30 +00:00
|
|
|
};
|