create table hrsa_other_derate_deduction
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  main_id bigint,
  tax_year_month datetime,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  other_deduction nvarchar(50),
  remark nvarchar(255)
)
GO


create table hrsa_health_insurance
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  main_id bigint,
  tax_year_month datetime,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  identification_number nvarchar(255),
  effective_date datetime,
  year_premium nvarchar(50),
  month_premium nvarchar(50),
  current_deduction nvarchar(50)
)
GO


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


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


create table hrsa_derate_deduction
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  main_id bigint,
  tax_year_month datetime,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  derate_item nvarchar(255),
  derate_property nvarchar(255),
  derate_amount nvarchar(255)
)
GO


create table hrsa_free_income
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  main_id bigint,
  tax_year_month datetime,
  employee_id bigint,
  tax_agent_id bigint,
  file_status int,
  free_item nvarchar(255),
  free_property nvarchar(255),
  free_amount nvarchar(255)
)
GO