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

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

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

    @NotBlank
    @Size(min = 1, max = 10)
    private String messageId;

    @NotBlank
    private String description;

    @NotNull
    private LocalDate effectiveFrom;

    @NotNull
    private LocalDate effectiveTo;
}
