zss
12 小时以前 56c6afb58c29c785b0a363d1dac183c4b1b2e1aa
1
2
3
4
5
6
7
8
9
10
11
12
13
# 员工合同表
drop table if exists staff_contract;
create table staff_contract
(
    id                  bigint auto_increment primary key,
    staff_on_job_id     bigint not null default 0 comment '员工在职id',
    contract_start_time datetime null comment '合同开始时间',
    contract_end_time   datetime null comment '合同结束时间',
    contract_term       int    not null default 0 comment '合同期限',
    tenant_id           bigint not null comment '租户id',
    create_time         datetime null comment '录入时间',
    update_time         datetime null comment '更新时间'
);