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

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