package com.its.pis.process;

import com.its.pis.entity.TbPisInfr;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DbmsData {

    public static final int DBMS_DATA_UNIT_SYST_STTS = 0;
    public static final int DBMS_DATA_PIS_STTS = 1;
    public static final int DBMS_DATA_PRK_PLCE_STTS = 2;
    public static final int DBMS_DATA_STTUS_INFO = 3;
    public static final int DBMS_DATA_OPR_INFO = 4;
    public static final int DBMS_DATA_RL_TIME = 5;
    public static final int DBMS_DATA_RL_TIME_HS = 6;

    private int     type;
    private boolean isHistory;
    private Object  data;
    private TbPisInfr obj;

    public DbmsData(int type, boolean isHistory, Object data, TbPisInfr obj) {
        this.type      = type;
        this.isHistory = isHistory;
        this.data      = data;
        this.obj       = obj;
    }

}
