package org.fao.fenix.commons.msd.dto.full;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.fao.fenix.commons.annotations.Description;
import org.fao.fenix.commons.annotations.Label;
import org.fao.fenix.commons.msd.dto.JSONEntity;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public class OjPeriod extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="")
    @Description(en="")
    private Date from;

    @JsonProperty
    @Label(en="")
    @Description(en="")
    private Date to;

    public Date getFrom() {
        return from;
    }

    public void setFrom(Date from) {
        this.from = from;
    }

    public Date getTo() {
        return to;
    }

    public void setTo(Date to) {
        this.to = to;
    }
}

@@ -412,32 +412,41 @@
 %0A    @Label(en=%22
+Date from
 %22)%0A    @Descript
@@ -445,32 +445,79 @@
 Description(en=%22
+Start point of time delimiting a time interval.
 %22)%0A    private D
@@ -556,24 +556,31 @@
  @Label(en=%22
+Date to
 %22)%0A    @Desc
@@ -591,16 +591,61 @@
 ion(en=%22
+End point of time delimiting a time interval.
 %22)%0A    p

Update OjPeriod.java