import mongoose from 'mongoose';
import { ExternalProspectStageTwoTables } from './ProspectInfoStageTwo.model';

export enum ExternalProspectStageOneTables {
  litigation = 'litigation',
  detailsOfCurrentDebt = 'detailsOfCurrentDebt',
}

const InfoRowSchema = new mongoose.Schema({
  name: {
    type: String,
  },
  value: {
    type: String,
  },
  extraValue: {
    type: String,
  },
});

export const ProspectInfoStageOne = {
  companyLegalName: {
    type: String,
  },
  companyLegalAddress: {
    type: String,
  },
  companyCorrespondenceAddress: {
    type: String,
  },
  DBANames: {
    type: String,
  },
  websiteAddress: {
    type: String,
  },
  businessDescription: {
    type: String,
  },
  [ExternalProspectStageOneTables.litigation]: {},
  [ExternalProspectStageOneTables.detailsOfCurrentDebt]: {},
};
