const { DataTypes } = require('sequelize');
const bcrypt = require('bcryptjs');
const db = require('../config/db.config');
const EmployeeLinks = db.define('EmployeeLinks', {
    id: {
        type: DataTypes.INTEGER,
        allowNull: false,
        autoIncrement: true,
        primaryKey: true
    },
    device_id: {
        type: DataTypes.STRING,
        allowNull: false
    },
    signup_url: {
        type: DataTypes.STRING,
        allowNull: true
    },
    signup_token: {
        type: DataTypes.STRING,
        allowNull: true
    },
    signup_name: {
        type: DataTypes.STRING,
        allowNull: true
    },
    signup_image: {
        type: DataTypes.TEXT,
        allowNull: true
    },
}, {
    tableName: 'employee_links',
    timestamps: true,
    createdAt: 'created_at',
    updatedAt: 'updated_at'
});



module.exports = EmployeeLinks;