CREATE TABLE ben_gap_daily_absences (
    GAP_DAILY_ABSENCE_ID     NUMBER(18, 0),
    GAP_ABSENCE_PLAN_ID      NUMBER(18, 0)    NOT NULL,
    ABSENCE_DATE             DATE             NOT NULL,
    WORK_PATTERN_DAY_TYPE    VARCHAR2(120)    NOT NULL,
    LEVEL_OF_ENTITLEMENT     VARCHAR2(120)    NOT NULL,
    LEVEL_OF_PAY             VARCHAR2(120)    NOT NULL,
    DURATION                 NUMBER           NOT NULL,
    BUSINESS_GROUP_ID        NUMBER(18, 0)    NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    DURATION_IN_HOURS        NUMBER(11, 5),
    WORKING_DAYS_PER_WEEK    NUMBER(6, 5) ,
    FTE                      NUMBER(25, 5),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    GAP_DAILY_ABSENCE_ID     NUMBER(18, 0),
    GAP_ABSENCE_PLAN_ID      NUMBER(18, 0)    NOT NULL,
    ABSENCE_DATE             DATE             NOT NULL,
    WORK_PATTERN_DAY_TYPE    VARCHAR2(120)    NOT NULL,
    LEVEL_OF_ENTITLEMENT     VARCHAR2(120)    NOT NULL,
    LEVEL_OF_PAY             VARCHAR2(120)    NOT NULL,
    DURATION                 NUMBER           NOT NULL,
    BUSINESS_GROUP_ID        NUMBER(18, 0)    NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    DURATION_IN_HOURS        NUMBER(11, 5),
    WORKING_DAYS_PER_WEEK    NUMBER(6, 5) ,
    FTE                      NUMBER(25, 5),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_ben_gap_daily_absences PRIMARY KEY (GAP_DAILY_ABSENCE_ID, GAP_DAILY_ABSENCE_ID)
);
