CREATE TABLE hry_pi_integ_payevents_mapping (
    INTEGRATION_PAYEVENT_MAP_ID    NUMBER(18, 0),
    INTEGRATION_SETUP_ID           NUMBER(18, 0),
    PAYROLL_ID                     NUMBER(18, 0),
    PAY_GROUP_ID                   NUMBER(18, 0),
    CONFIG_EVENTS_MAPPING_ID       NUMBER(18, 0),
    ENTERPRISE_ID                  NUMBER(18, 0)    NOT NULL,
    LEGISLATIVE_DATA_GROUP_ID      NUMBER(18, 0),
    LEGISLATION_CODE               VARCHAR2(120),
    CREATED_BY                     VARCHAR2(256)    NOT NULL,
    CREATION_DATE                  TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY                VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE               TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN              VARCHAR2(128),
    OBJECT_VERSION_NUMBER          NUMBER(9, 0)     NOT NULL,
    PARENT_RULE_PROPERTY_ID        NUMBER(18, 0),
    INTEGRATION_PAYEVENT_MAP_ID    NUMBER(18, 0),
    INTEGRATION_SETUP_ID           NUMBER(18, 0),
    PAYROLL_ID                     NUMBER(18, 0),
    PAY_GROUP_ID                   NUMBER(18, 0),
    CONFIG_EVENTS_MAPPING_ID       NUMBER(18, 0),
    ENTERPRISE_ID                  NUMBER(18, 0)    NOT NULL,
    LEGISLATIVE_DATA_GROUP_ID      NUMBER(18, 0),
    LEGISLATION_CODE               VARCHAR2(120),
    CREATED_BY                     VARCHAR2(256)    NOT NULL,
    CREATION_DATE                  TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY                VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE               TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN              VARCHAR2(128),
    OBJECT_VERSION_NUMBER          NUMBER(9, 0)     NOT NULL,
    PARENT_RULE_PROPERTY_ID        NUMBER(18, 0),
    CONSTRAINT pk_hry_pi_integ_payevents_mapping PRIMARY KEY (INTEGRATION_PAYEVENT_MAP_ID, INTEGRATION_PAYEVENT_MAP_ID)
);
