-- IBM Confidential
-- OCO Source Materials
-- 5724-I68.
-- (C) Copyright IBM Corp. 2000, 2004 - All Rights Reserved.
-- US Government Users Restricted Rights - Use, duplication or disclosure 
-- restricted by GSA ADP Schedule Contract with IBM Corp. 
-- This file is generated by GenSchema!! DO NOT EDIT!!!
-- This file is generated by GenSchema!! DO NOT EDIT!!!


-- ===================================================================
--
-- Table tgds_ntf_notification
--

-- ===================================================================

drop table tgds_ntf_notification cascade constraints;
create table tgds_ntf_notification
( 
    ntf_company_id                number(9, 0),
    ntf_id                        number(9, 0),
    ntf_type                      char(1),
    ntf_msg                       varchar2(1000),
    ntf_action                    varchar2(1000),
    ntf_bo_id                     varchar2(100),
    ntf_message_item              varchar2(100),
    ntf_bo_type                   varchar2(100),
    ntf_source_user_id            number(9, 0),
    ntf_gen_time                  date,
    ntf_action_cause              varchar2(100),
    ntf_transaction_id            varchar2(100),
    ntf_group_id                  varchar2(100),
    ntf_status                    varchar2(100)
) 
tablespace users;


drop synonym ntf;
create synonym ntf for tgds_ntf_notification;

drop sequence qgds_ntf_id;
create sequence qgds_ntf_id start with 1 increment by 1 nocache;

-- ===================================================================
--
-- Table tgds_rcp_recipient
--

-- ===================================================================

drop table tgds_rcp_recipient cascade constraints;
create table tgds_rcp_recipient
( 
    rcp_company_id                number(9, 0),
    rcp_ntf_id                    number(9, 0),
    rcp_rcp_id                    number(9, 0),
    rcp_rcp_type                  varchar2(100),
    rcp_ntf_status                varchar2(100)
) 
tablespace users;


drop synonym rcp;
create synonym rcp for tgds_rcp_recipient;

-- ===================================================================
--
-- Table tgds_npr_preference
--

-- ===================================================================

drop table tgds_npr_preference cascade constraints;
create table tgds_npr_preference
( 
    npr_company_id                number(9, 0),
    npr_rcp_id                    number(9, 0),
    npr_ntf_mode                  varchar2(20),
    npr_alert_required            char(1)
) 
tablespace users;


drop synonym npr;
create synonym npr for tgds_npr_preference;




