
package dev.sonpx.loyalty.mcp.reward.model;


import dev.sonpx.loyalty.mcp.reward.enums.EventFrequencyType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by SonPhung on Monday, 20-Jul-2026
 */
@Getter
@Setter
public class EventMaintenance extends Fw {

    @NotBlank
    private String eventId;

    @NotBlank
    private String description;

    private EventFrequencyType frequency;

    @NotNull
    private LocalDate occursNext;

    private LocalDate effectiveUpTo;
}
