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 javax.persistence.Embedded;
import java.io.Serializable;
import java.util.Date;

public class SeUpdate extends JSONEntity implements Serializable {

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

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private OjCodeList updatePeriodicity;


    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public OjCodeList getUpdatePeriodicity() {
        return updatePeriodicity;
    }
    @Embedded
    public void setUpdatePeriodicity(OjCodeList updatePeriodicity) {
        this.updatePeriodicity = updatePeriodicity;
    }
}

@@ -425,32 +425,48 @@
 %0A    @Label(en=%22
+Last update date
 %22)%0A    @Descript
@@ -466,32 +466,58 @@
 escription(en= %22
+Last physical update date.
 %22)%0A    private D
@@ -566,16 +566,35 @@
 bel(en=%22
+Frequency of update
 %22)%0A    @
@@ -610,16 +610,37 @@
 on(en= %22
+Frequency of upgrade.
 %22)%0A    p

Update SeUpdate.java