import db from "../DB/index.js";
import Sequelize from "sequelize";

const TABEL_NAME = "tableHeads";
const tableHead = db.define(TABEL_NAME, {
    id:{
        type:Sequelize.INTEGER,
        primaryKey: true
    },
    name:{
        type:Sequelize.STRING
    },
    code:{
        type:Sequelize.INTEGER
    },
    value:{
        type:Sequelize.STRING
    }
},{
    timestamps: false,
    freezeTableName: true
});

// tableHead.sync();

export default tableHead;