package com.capgemini.reports.database.javabean;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/** Persisted object in table CRITERIA_VAL for criteria values. **/
@Getter
@Setter
@ToString
public class DbCriteriaVal implements Serializable, IPersistedObject {

    /** Required by serialization. **/
    private static final long serialVersionUID = 1L;

    /** Unique identifier recommended for using all features from Hibernate. **/
    private Long id;

    /** Linked criteria. **/
    private DbCriteria criteria;

    /** Criteria value. **/
    private String criteriaValue;

    /** Identifier of the linked report. **/
    private Long reportId;

    /** JAVA convention requires an empty constructor for each JAVA bean. **/
    public DbCriteriaVal() {
        // Nothing to see, move along...
    }
}
