create table hrsa_salary_stats_report
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  report_name nvarchar(100),
  dimension nvarchar(1000),
  tax_agent_setting nvarchar(1000),
  income_category_setting nvarchar(20),
  sub_company_setting nvarchar(1000),
  depart_setting nvarchar(1000),
  grade_setting nvarchar(1000),
  position_setting nvarchar(1000),
  status_setting nvarchar(1000),
  employee_setting nvarchar(1000),
  hiredate_setting varchar(1000),
  leavedate_setting varchar(1000),
  salary_start_month datetime,
  salary_end_month datetime
)
GO

create index idx_tenant_key_sal_stats_rep on hrsa_salary_stats_report(tenant_key)
GO