<script>
/**
 * Booking object
 */

export const booking_object = {
  id: null,
  customer_number: null,
  wash_type: null,
  contact_email: null,
  reference_number: null,
  regNrTraekker: null,
  regNrTrailer: null,
  washCertificateEmail: null,
  date: null,
  department: null,
  pickup_bool: null,
  notes: null,
  washCertificateStatus: null,
  washCertificateUrl: null,
  status: null,
  created_at: null,
  constructor: function (booking = {}) {
    this.id = booking.id;
    this.customer_number = booking.customer_number;
    this.wash_type = booking.wash_type;
    this.contact_email = booking.contact_email;
    this.reference_number = booking.reference_number;
    this.regNrTraekker = booking.regNrTraekker;
    this.regNrTrailer = booking.regNrTrailer;
    this.washCertificateEmail = booking.washCertificateEmail;
    this.date = booking.date;
    this.department = booking.department;
    this.pickup_bool = booking.pickup_bool;
    this.notes = booking.notes;
    this.washCertificateStatus = booking.washCertificateStatus;
    this.washCertificateUrl = booking.washCertificateUrl;
    this.status = booking.status;
    this.created_at = booking.created_at;
    return this;
  },
}
</script>