create table hrsa_tax_agent_tax_return
(
  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 not null,
  tax_code nvarchar(50) not null,
  tax_registration_number nvarchar(50) not null,
  department_code nvarchar(50),
  department_name nvarchar(50),
  nation nvarchar(50),
  province nvarchar(50),
  city nvarchar(50),
  area_code nvarchar(50) not null,
  password_type int not null,
  real_account nvarchar(50) ,
  pwd nvarchar(50) not null,
  check_status int not null,
  fail_reason nvarchar(255)
)
GO

create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key)
GO

create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id)
GO