create table hrsa_sub_table
(
  id bigint primary key ,
  create_time datetime,
  update_time datetime,
  creator bigint,
  delete_type int default 0,
  tenant_key nvarchar(10),
  sub_table_name nvarchar(100) not null,
  dimension nvarchar(20) not null,
  start_month nvarchar(10),
  end_month nvarchar(10),
  pay_org_string nvarchar(500),
  pay_agency_string nvarchar(500),
  sub_company_string nvarchar(500),
  depart_string nvarchar(500),
  grade_string nvarchar(500),
  position_string nvarchar(500),
  status_string nvarchar(500),
  employee_type nvarchar(500),
  employee_string nvarchar(500),
  payment_type_string nvarchar(100)
)
GO

create index idx_table_tk_8413fde2 on hrsa_sub_table(tenant_key)
GO