Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/models/
Upload File :
Current File : /home/infinitibizsol/.trash/models/Auctioneer.js

module.exports = (sequelize, DataTypes) => {
  const Auctioneer = sequelize.define(
    "tblAuctioneer",
    {
      auctioneer_id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
      },
      first_name: {
        type: DataTypes.STRING,
      },
      last_name: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      email: {
        type: DataTypes.STRING,
        allowNull: true,
      },

      address: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      business_name: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      business_address: {
        type: DataTypes.STRING,
        allowNull: true,
      },

      password: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      contact: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      username: {
        type: DataTypes.STRING,
        allowNull: true,
      },
      per_unit_fee: {
        type: DataTypes.INTEGER,
        allowNull: true,
      },
    },
    {
      timestamps: false,
    }
  );

  return Auctioneer;
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists