create table hrsa_employee_declare_record
(
  id number primary key ,
  create_time date,
  update_time date,
  creator number,
  delete_type int default 0,
  tenant_key varchar2(10),
  tax_agent_id number,
  tax_cycle varchar2(10),
  request_id varchar2(100)
);
/

create table hrsa_employee_declare
(
  id number primary key ,
  create_time date,
  update_time date,
  creator number,
  delete_type int default 0,
  tenant_key varchar2(10),
  tax_agent_id number,
  tax_cycle varchar2(10),
  employee_id number,
  employee_type number,
  employee_name varchar2(100),
  job_num varchar2(100),
  card_type number,
  card_num varchar2(100),
  gender varchar2(100),
  birthday date,
  employment_status number,
  mobile varchar2(100),
  employment_type number,
  employment_first_year varchar2(100),
  employment_date date,
  dismiss_date date,
  disability number,
  disability_card_no varchar2(100),
  lonely_old number,
  martyr_dependents number,
  martyr_dependents_card_no varchar2(100),
  deduct_expenses number,
  successfully_declared number,
  new_employee_info number,
  declare_status number,
  declare_error_msg varchar2(1000)
);
/

