com.icthh.xm.commons.domainevent.outbox.domain.ValidFor Maven / Gradle / Ivy
package com.icthh.xm.commons.domainevent.outbox.domain;
import jakarta.persistence.Embeddable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.time.Instant;
@Embeddable
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ValidFor {
private Instant validFrom;
private Instant validTo;
}