zss
7 天以前 6736f86877f48652ea1ba6ab892d3ff4845e6b7c
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 '更新时间'
);