33 lines
1.1 KiB
MySQL
33 lines
1.1 KiB
MySQL
|
|
create table hrsa_tax_declare_api_profile
|
|||
|
|
(
|
|||
|
|
id bigint primary key comment 'ID' ,
|
|||
|
|
create_time datetime comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
update_time datetime comment '<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
creator bigint comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id' ,
|
|||
|
|
delete_type int default 0 comment '<EFBFBD>Ƿ<EFBFBD>ɾ<EFBFBD><EFBFBD>' ,
|
|||
|
|
tenant_key varchar(10) comment '<EFBFBD>⻧KEY' ,
|
|||
|
|
api_profile int comment '<EFBFBD>ӿڻ<EFBFBD><EFBFBD><EFBFBD>'
|
|||
|
|
)
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
create index id_tenant_key_22b215db on hrsa_tax_declare_api_profile(tenant_key)
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
create table hrsa_tax_payment_request
|
|||
|
|
(
|
|||
|
|
id bigint primary key comment 'ID' ,
|
|||
|
|
create_time datetime comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
update_time datetime comment '<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' ,
|
|||
|
|
creator bigint comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>id' ,
|
|||
|
|
delete_type int default 0 comment '<EFBFBD>Ƿ<EFBFBD>ɾ<EFBFBD><EFBFBD>' ,
|
|||
|
|
tenant_key varchar(10) comment '<EFBFBD>⻧KEY' ,
|
|||
|
|
tax_agent_id bigint not null comment '<EFBFBD><EFBFBD>˰<EFBFBD>۽<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID' ,
|
|||
|
|
tax_declare_record_id bigint comment '<EFBFBD><EFBFBD>˰<EFBFBD>걨<EFBFBD><EFBFBD>¼' ,
|
|||
|
|
tax_year_month date not null comment '˰<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' ,
|
|||
|
|
request_id varchar(50) not null comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>id' ,
|
|||
|
|
request_type int not null comment '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
|
|||
|
|
)
|
|||
|
|
;
|
|||
|
|
|
|||
|
|
create index id_tenant_key_bcb610c7 on hrsa_tax_payment_request(tenant_key)
|
|||
|
|
;
|