package de.avatic.taric.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.jdbc.core.mapping.AggregateReference;
import org.springframework.data.relational.core.mapping.Column;

import jakarta.validation.constraints.NotNull;

import java.time.LocalDate;


@Getter
@Setter
public class MeasureExclusion {

	@Id
    private Integer id;

    LocalDate startDate;

    LocalDate endDate;
    
    @NotNull
    @Column("geo_id")
    private AggregateReference<Geo, Integer> geo;


}
