create table hrsa_employee_declare_record
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  tax_agent_id bigint,
  tax_cycle nvarchar(10),
  request_id nvarchar(100)
)
GO

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