create table hrsa_deduction_amount
(
    id bigint primary key ,
    create_time timestamp,
    update_time timestamp,
    creator bigint,
    delete_type int,
    tenant_key varchar(10),
    tax_agent_id bigint,
    year varchar(100),
    employee_id bigint,
    employee_type smallint,
    employee_name varchar(100),
    job_num varchar(100),
    card_type smallint,
    card_num varchar(100),
    nationality varchar(200),
    deduct_flag smallint,
    successfully_declared smallint,
    declare_status smallint,
    declare_error_msg varchar(3000)
);
/

create table hrsa_deduction_amount_record
(
    id bigint primary key ,
    create_time timestamp,
    update_time timestamp,
    creator bigint,
    delete_type int default 0,
    tenant_key varchar(10),
    tax_agent_id bigint,
    year varchar(100),
    request_id varchar(100)
);
/