module.exports = (sequelize, Sequelize) => {
  const Client = sequelize.define("client_list", {
    first_name: {
      type: Sequelize.STRING
    },
    last_name: {
      type: Sequelize.STRING
    },
    middle_name: {
      type: Sequelize.STRING
    },
    company_name: {
      type: Sequelize.STRING
    },
    address: {
      type: Sequelize.STRING
    },
    phone_number: {
      type: Sequelize.STRING
    },
    email_address: {
      type: Sequelize.STRING
    },
    occupation: {
      type: Sequelize.STRING
    },
    date_of_verification: {
      type: Sequelize.DATE
    },
    type_of_document: {
      type: Sequelize.STRING
    },
    document_number	: {
      type: Sequelize.STRING
    },
    front_document_pic_name	: {
      type: Sequelize.STRING
    },
    back_document_pic_name	: {
      type: Sequelize.STRING
    },
    document_upload_type	: {
      type: Sequelize.INTEGER
    },
    expire_date		: {
      type: Sequelize.DATE
    },
    in_person		: {
      type: Sequelize.ENUM,
      values: ['Y', 'N']
    },
    file_store_path		: {
      type: Sequelize.STRING
    },
    notes: {
      type: Sequelize.STRING
    } 
  });

  return Client;
};
