localhost_oa_based/deploy/sql/contracts.sql

11 lines
475 B
SQL

CREATE TABLE contracts (
id INT AUTO_INCREMENT PRIMARY KEY COMMENT '合同编号',
contract_title VARCHAR(255) COMMENT '合同标题',
contract_type VARCHAR(255) COMMENT '合同类型',
party_a VARCHAR(255) COMMENT '甲方',
party_b VARCHAR(255) COMMENT '乙方',
signing_date DATE COMMENT '签订日期',
delivery_deadline DATE COMMENT '交付期限',
review_result VARCHAR(255) COMMENT '审核结果',
attachment_url VARCHAR(255) COMMENT '下载附件'
);