CREATE TABLE hrsa_deduction_amount
(
    id                    bigint(0),
    create_time           datetime(0),
    update_time           datetime(0),
    creator               bigint(0),
    delete_type           int(0),
    tenant_key            varchar(10),
    tax_agent_id          bigint(0),
    year                  varchar(100),
    employee_id           bigint(0),
    employee_type         tinyint(0),
    employee_name         varchar(100),
    job_num               varchar(100),
    card_type             tinyint(0),
    card_num              varchar(100),
    nationality           varchar(200),
    deduct_flag           tinyint(0),
    successfully_declared tinyint(0),
    declare_status        tinyint(0),
    declare_error_msg     varchar(3000),
    PRIMARY KEY (id) USING BTREE
);

CREATE TABLE hrsa_deduction_amount_record
(
    id           bigint(0),
    create_time  datetime(0),
    update_time  datetime(0),
    creator      bigint(0),
    delete_type  int(0),
    tenant_key   varchar(10),
    tax_agent_id bigint(0),
    year         varchar(255),
    request_id   varchar(100),
    PRIMARY KEY (id) USING BTREE
);
