ActionRowCTE.java

/*
 * Copyright 2026 Global Crop Diversity Trust
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root folder or http://www.apache.org/licenses/LICENSE-2.0
 */

package org.gringlobal.model;

import java.time.Instant;
import javax.persistence.Entity;
import javax.persistence.Id;

import lombok.Getter;
import lombok.Setter;

import com.blazebit.persistence.CTE;

@CTE
@Entity
@Getter
@Setter
public class ActionRowCTE {

	@Id
	private Long id;

	private String type;

	private Instant createdDate;

	private Instant startedDate;

	private Instant notBeforeDate;

	public ActionRowCTE(Long id, String type, Instant createdDate, Instant startedDate, Instant notBeforeDate) {
		this.id = id;
		this.type = type;
		this.createdDate = createdDate;
		this.startedDate = startedDate;
		this.notBeforeDate = notBeforeDate;
	}

	public ActionRowCTE() {

	}
}