CREATE TABLE exm_entertainment_pol_lines (
    POLICY_LINE_ID             NUMBER(18, 0),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    ENTERTAINMENT_POLICY_ID    NUMBER(18, 0)    NOT NULL,
    TYPE_OF_ATTENDE_CODE       VARCHAR2(120),
    SINGLE_INSTANCE_LIMIT      NUMBER       ,
    DAILY_LIMIT                NUMBER       ,
    YEARLY_LIMIT               NUMBER       ,
    CURRENCY_CODE              VARCHAR2(60) ,
    START_DATE                 DATE             NOT NULL,
    END_DATE                   DATE         ,
    TYPE_OF_RATE_CODE          VARCHAR2(120),
    ROLE_ID                    NUMBER(18, 0),
    ROLE_NAME                  VARCHAR2(320),
    STATUS                     VARCHAR2(120),
    INVALID_CODE               VARCHAR2(120),
    ATTRIBUTE_CATEGORY         VARCHAR2(600),
    ATTRIBUTE1                 VARCHAR2(600),
    ATTRIBUTE2                 VARCHAR2(600),
    ATTRIBUTE3                 VARCHAR2(600),
    ATTRIBUTE4                 VARCHAR2(600),
    ATTRIBUTE5                 VARCHAR2(600),
    ATTRIBUTE6                 VARCHAR2(600),
    ATTRIBUTE7                 VARCHAR2(600),
    ATTRIBUTE8                 VARCHAR2(600),
    ATTRIBUTE9                 VARCHAR2(600),
    ATTRIBUTE10                VARCHAR2(600),
    ATTRIBUTE11                VARCHAR2(600),
    ATTRIBUTE12                VARCHAR2(600),
    ATTRIBUTE13                VARCHAR2(600),
    ATTRIBUTE14                VARCHAR2(600),
    ATTRIBUTE15                VARCHAR2(600),
    ATTRIBUTE_NUMBER1          NUMBER       ,
    ATTRIBUTE_NUMBER2          NUMBER       ,
    ATTRIBUTE_NUMBER3          NUMBER       ,
    ATTRIBUTE_NUMBER4          NUMBER       ,
    ATTRIBUTE_NUMBER5          NUMBER       ,
    ATTRIBUTE_DATE1            DATE         ,
    ATTRIBUTE_DATE2            DATE         ,
    ATTRIBUTE_DATE3            DATE         ,
    ATTRIBUTE_DATE4            DATE         ,
    ATTRIBUTE_DATE5            DATE         ,
    ATTRIBUTE_DATETIME1        TIMESTAMP(6) ,
    ATTRIBUTE_DATETIME2        TIMESTAMP(6) ,
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    POLICY_LINE_ID             NUMBER(18, 0),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    ENTERTAINMENT_POLICY_ID    NUMBER(18, 0)    NOT NULL,
    TYPE_OF_ATTENDE_CODE       VARCHAR2(120),
    SINGLE_INSTANCE_LIMIT      NUMBER       ,
    YEARLY_LIMIT               NUMBER       ,
    CURRENCY_CODE              VARCHAR2(60) ,
    START_DATE                 DATE             NOT NULL,
    END_DATE                   DATE         ,
    STATUS                     VARCHAR2(120),
    INVALID_CODE               VARCHAR2(120),
    ATTRIBUTE_CATEGORY         VARCHAR2(600),
    ATTRIBUTE1                 VARCHAR2(600),
    ATTRIBUTE2                 VARCHAR2(600),
    ATTRIBUTE3                 VARCHAR2(600),
    ATTRIBUTE4                 VARCHAR2(600),
    ATTRIBUTE5                 VARCHAR2(600),
    ATTRIBUTE6                 VARCHAR2(600),
    ATTRIBUTE7                 VARCHAR2(600),
    ATTRIBUTE8                 VARCHAR2(600),
    ATTRIBUTE9                 VARCHAR2(600),
    ATTRIBUTE10                VARCHAR2(600),
    ATTRIBUTE11                VARCHAR2(600),
    ATTRIBUTE12                VARCHAR2(600),
    ATTRIBUTE13                VARCHAR2(600),
    ATTRIBUTE14                VARCHAR2(600),
    ATTRIBUTE15                VARCHAR2(600),
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    ATTRIBUTE_NUMBER1          NUMBER       ,
    ATTRIBUTE_NUMBER2          NUMBER       ,
    ATTRIBUTE_NUMBER3          NUMBER       ,
    ATTRIBUTE_NUMBER4          NUMBER       ,
    ATTRIBUTE_NUMBER5          NUMBER       ,
    ATTRIBUTE_DATE1            DATE         ,
    ATTRIBUTE_DATE2            DATE         ,
    ATTRIBUTE_DATE3            DATE         ,
    ATTRIBUTE_DATE4            DATE         ,
    ATTRIBUTE_DATE5            DATE         ,
    ATTRIBUTE_DATETIME1        TIMESTAMP(6) ,
    ATTRIBUTE_DATETIME2        TIMESTAMP(6) ,
    DAILY_LIMIT                NUMBER       ,
    TYPE_OF_RATE_CODE          VARCHAR2(120),
    ROLE_ID                    NUMBER(18, 0),
    ROLE_NAME                  VARCHAR2(320),
    CONSTRAINT pk_exm_entertainment_pol_lines PRIMARY KEY (POLICY_LINE_ID, POLICY_LINE_ID)
);
