All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hyperfoil.tools.horreum.entity.ActionLogDAO Maven / Gradle / Ivy

The newest version!
package io.hyperfoil.tools.horreum.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.validation.constraints.NotNull;

@Entity(name = "ActionLog")
public class ActionLogDAO extends PersistentLogDAO {

    @Id
    @CustomSequenceGenerator(name = "actionlog_id_generator", allocationSize = 1)
    public Long id;

    @NotNull
    public int testId;

    @NotNull
    public String event;

    public String type;

    public ActionLogDAO() {
        super(0, null);
    }

    public ActionLogDAO(int level, int testId, String event, String type, String message) {
        super(level, message);
        this.testId = testId;
        this.event = event;
        this.type = type;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy