You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
697 B
35 lines
697 B
4 years ago
|
import _sequelize from 'sequelize';
|
||
|
const { Model, Sequelize } = _sequelize;
|
||
|
|
||
|
export default class noevahed extends Model {
|
||
|
static init(sequelize, DataTypes) {
|
||
|
super.init({
|
||
|
NoeVahedName: {
|
||
|
type: DataTypes.STRING(255),
|
||
|
allowNull: false
|
||
|
},
|
||
|
Count: {
|
||
|
type: DataTypes.INTEGER,
|
||
|
allowNull: false
|
||
|
},
|
||
|
ISICBusinessCode: {
|
||
|
type: DataTypes.STRING(10),
|
||
|
allowNull: true
|
||
|
},
|
||
|
MainGroupCode: {
|
||
|
type: DataTypes.STRING(10),
|
||
|
allowNull: true
|
||
|
},
|
||
|
AncillaryGroupCode: {
|
||
|
type: DataTypes.STRING(10),
|
||
|
allowNull: true
|
||
|
}
|
||
|
}, {
|
||
|
sequelize,
|
||
|
tableName: 'noevahed',
|
||
|
timestamps: false
|
||
|
});
|
||
|
return noevahed;
|
||
|
}
|
||
|
}
|