create table hrsa_tax_agent_tax_return
(
  id number primary key ,
  create_time date,
  update_time date,
  creator number,
  delete_type int default 0,
  tenant_key varchar2(10),
  tax_agent_id number not null,
  tax_code varchar2(50) not null,
  tax_registration_number varchar2(50) not null,
  department_code varchar2(50),
  department_name varchar2(50),
  nation varchar2(50),
  province varchar2(50),
  city varchar2(50),
  area_code varchar2(50) not null,
  password_type int not null,
  real_account varchar2(50) ,
  pwd varchar2(50) not null,
  check_status int not null,
  fail_reason varchar2(255)
)
/

create index id_tenant_key_tax_return on hrsa_tax_agent_tax_return(tenant_key)
/

create unique index id_tax_agent_id_tax_return on hrsa_tax_agent_tax_return(tax_agent_id)
/