package de.votian.services.dto;

import de.votian.services.entity.Job;
import de.votian.services.entity.JobPrice;

import java.util.ArrayList;
import java.util.List;

public class JobPricingRequest {

    private Job job;
    private List<JobPrice> prices = new ArrayList<>();
    private List<TourDetailDto> tours = new ArrayList<>();
    private boolean manualCourierTotalOverride;

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    public List<JobPrice> getPrices() {
        return prices;
    }

    public void setPrices(List<JobPrice> prices) {
        this.prices = prices != null ? prices : new ArrayList<>();
    }

    public List<TourDetailDto> getTours() {
        return tours;
    }

    public void setTours(List<TourDetailDto> tours) {
        this.tours = tours != null ? tours : new ArrayList<>();
    }

    public boolean isManualCourierTotalOverride() {
        return manualCourierTotalOverride;
    }

    public void setManualCourierTotalOverride(boolean manualCourierTotalOverride) {
        this.manualCourierTotalOverride = manualCourierTotalOverride;
    }
}
