@@ -0,0 +1,1791 @@
+package io.teiler.server.dto;%0A%0Aimport java.time.LocalDateTime;%0A%0Aimport com.google.gson.annotations.SerializedName;%0A%0A/**%0A * Class holding all information about a Compensation.%0A * %0A * @author pbaechli%0A */%0Apublic class Compensation extends Transaction %7B%0A%0A    @SerializedName(%22profiteer%22)%0A    private Profiteer profiteer;%0A%0A    /**%0A     * Usual constructor.%0A     * %0A     * @param id Id of the Compensation%0A     * @param amount Amount of money involved in the Compensation%0A     * @param payer Person who spent the money%0A     * @param profiteer %7B@link Profiteer%7D related to the Compensation%0A     */%0A    public Compensation(Integer id, Integer amount, Person payer, Profiteer profiteer) %7B%0A        super(id, amount, payer, null, null);%0A        this.profiteer = profiteer;%0A    %7D%0A%0A    /**%0A     * Constructor with all fields (useful for converting).%0A     * %0A     * @param id Id of the Compensation%0A     * @param amount Amount of money involved in the Compensation%0A     * @param payer Person who spent the money%0A     * @param updateTime %7B@link LocalDateTime%7D marking the last update of the Compensation%0A     * @param createTime %7B@link LocalDateTime%7D marking the creation of the Compensation%0A     * @param profiteer %7B@link Profiteer%7D related to the Compensation%0A     */%0A    public Compensation(Integer id, Integer amount, Person payer, LocalDateTime updateTime,%0A            LocalDateTime createTime, Profiteer profiteer) %7B%0A        super(id, amount, payer, updateTime, createTime);%0A        this.profiteer = profiteer;%0A    %7D%0A%0A    public Profiteer getProfiteer() %7B%0A        return profiteer;%0A    %7D%0A%0A    public void setProfiteer(Profiteer profiteer) %7B%0A        this.profiteer = profiteer;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Compensation %5Bprofiteer=%22 + profiteer + %22%5D%22;%0A    %7D%0A%0A%7D%0A

add compensation dto (#164)