import { CompanyRegistrationData } from "@edr/types";

export class ETradeResponseDto implements CompanyRegistrationData {
  licenceNumber!: string;
  statusDescription!: string;
  dateRegistered!: string;
  renewedFrom!: string;
  renewalDate!: string;
  renewedTo!: string;
  region!: string;
  zone!: string;
  woreda!: string;
  kebele!: string;
  houseNo!: string;
  mobilePhone!: string;
  regularPhone!: string;
  managerName!: string;
  managerEmail?: string;
  managerPhone!: string;

  constructor(data: CompanyRegistrationData) {
    this.licenceNumber = data.licenceNumber;
    this.statusDescription = data.statusDescription;
    this.dateRegistered = data.dateRegistered;
    this.renewedFrom = data.renewedFrom;
    this.renewalDate = data.renewalDate;
    this.renewedTo = data.renewedTo;
    this.region = data.region;
    this.zone = data.zone;
    this.woreda = data.woreda;
    this.kebele = data.kebele;
    this.houseNo = data.houseNo;
    this.mobilePhone = data.mobilePhone;
    this.regularPhone = data.regularPhone;
    this.managerName = data.managerName;
    this.managerEmail = data.managerEmail;
    this.managerPhone = data.managerPhone;
  }
}
