summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/ccbapi/model/CustomDateFieldValue.java
blob: 01436b73850558fb65dd0c748bd27c7e9df4250c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.p4square.ccbapi.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.time.LocalDate;

/**
 * A user-defined date field and the associated value.
 */
@XmlAccessorType(XmlAccessType.NONE)
public class CustomDateFieldValue extends CustomField {

    @XmlElement(name="date")
    private LocalDate date;

    public LocalDate getDate() {
        return date;
    }

    public void setDate(final LocalDate date) {
        this.date = date;
    }
}