create table hrsa_other_derate_deduction
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  other_deduction varchar(50),
  remark varchar(255)
);
/

create table hrsa_health_insurance
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  identification_number varchar(255),
  effective_date date,
  year_premium varchar(50),
  month_premium varchar(50),
  current_deduction varchar(50)
);
/


create table hrsa_grant_donation
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  recipient_name varchar(255),
  tax_code varchar(255),
  donation_number varchar(255),
  donate_date date,
  donate_amount varchar(50),
  deduction_proportion varchar(10),
  actual_deduction varchar(50)
);
/


create table hrsa_endowment_insurance
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  account_number varchar(255),
  check_code varchar(255),
  year_premium varchar(50),
  month_premium varchar(50),
  current_deduction varchar(50),
  deduction_month date
);
/


create table hrsa_derate_deduction
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  derate_item varchar(255),
  derate_property varchar(255),
  derate_amount varchar(255)
);
/


create table hrsa_free_income
(
  id bigint primary key ,
  create_time timestamp,
  update_time timestamp,
  creator bigint,
  delete_type int default 0,
  tenant_key varchar(10),
  main_id bigint,
  tax_year_month date,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  free_item varchar(255),
  free_property varchar(255),
  free_amount varchar(255)
);
/