import { extendObservable, observable, makeObservable } from 'mobx';

export default class Fiber {
  constructor({ checkout = {} }: any) {
    makeObservable(this, {
      confirmedAvailability: observable,
      property: observable,
      properties: observable,
      relocationDate: observable,
    });

    extendObservable(this, checkout);
  }

  confirmedAvailability = {
    street: '',
    houseNumber: '',
    zip: '',
    line: '',
    city: '',
  };

  property = null;

  properties = [];

  relocationDate = null;
}
