package com.dwalldorf.timetrack.backend.model;

import java.io.Serializable;
import org.joda.time.DateTime;

public class GraphConfig implements Serializable {

    private DateTime from;

    private DateTime to;

    public DateTime getFrom() {
        return from;
    }

    /**
     *
     * @param from
     * @return
     */
    public GraphConfig setFrom(DateTime from) {
        this.from = from;
        return this;
    }

    public DateTime getTo() {
        return to;
    }

    public GraphConfig setTo(DateTime to) {
        this.to = to;
        return this;
    }
}
@@ -154,16 +154,88 @@
 able %7B%0A%0A
+    public enum Scale %7B%0A        DAY,%0A        WEEK,%0A        MONTH%0A    %7D%0A%0A
     priv
@@ -280,16 +280,42 @@
 me to;%0A%0A
+    private Scale scale;%0A%0A
     publ
@@ -370,65 +370,8 @@
  %7D%0A%0A
-    /**%0A     *%0A     * @param from%0A     * @return%0A     */%0A
     
@@ -616,10 +616,172 @@
 s;%0A    %7D
+%0A%0A    public Scale getScale() %7B%0A        return scale;%0A    %7D%0A%0A    public GraphConfig setScale(Scale scale) %7B%0A        this.scale = scale;%0A        return this;%0A    %7D
 %0A%7D

add scale