package com.capgemini.reports.database.javabean;

import java.io.Serializable;

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

/** Persisted object in table REPORT_TYPE. **/
@Getter
@Setter
@ToString
public class DbReportType implements Serializable, IPersistedObject {

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

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

    /** Identification code for the report, ie: R01, R22... **/
    private String code;

    /** Priority in queue. **/
    private Long priority;

    /** Title of the report. **/
    private String title;

    /** Name of the revision rule. **/
    private String revisionRule;

    /** If 'TRUE' then the report can be launched interactively by the users. Defaults to 'TRUE' **/
    private String reportAuthorized;

    /** If 'TRUE' then the report can be launched scheduled. Defaults to 'FALSE'. **/
    private String isCandidateForScheduling;

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