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