
-- ----------------------------
-- 评价项目计划表
-- ----------------------------
drop table if exists `smart_assess`.`ass_estimate_plan`;
CREATE TABLE `smart_assess`.`ass_estimate_plan`  (
`id` bigint NOT NULL AUTO_INCREMENT,
`auser_id` bigint NOT NULL COMMENT '评价机构负责人id',
`technical_id` bigint NOT NULL COMMENT '技术负责人负责人id',
`start_date` datetime NOT NULL COMMENT '评价开始时间',
`end_date` datetime NOT NULL COMMENT '评价结束时间',
`project_id` bigint NOT NULL COMMENT '项目id',
`del_flag` tinyint NULL DEFAULT 0 COMMENT '删除标志(0正常，1删除，默认0)',
`version` int NULL DEFAULT 0 COMMENT '乐观锁',
`create_by` varchar(20) NULL COMMENT '创建人',
`create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(20) NULL COMMENT '更新人',
`update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`remark` varchar(100) NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评价项目计划表' ROW_FORMAT = DYNAMIC;