
-- ----------------------------
-- 现场勘验人员人脸识别记录表
-- ----------------------------
CREATE TABLE `smart_assess`.`ass_face_record`  (
`id` bigint NOT NULL AUTO_INCREMENT,
`person_id` bigint NOT NULL COMMENT '用户id',
`project_id` bigint NOT NULL COMMENT '项目id',
`location` varchar(60) NULL COMMENT '纬度/经度',
`face_path` varchar(100) NULL COMMENT '人脸图片路径',
`scene` tinyint NULL DEFAULT 0 COMMENT '是否是现场勘验人脸识别(0否 1是，默认0)',
`version` int NULL DEFAULT 0 COMMENT '乐观锁',
`del_flag` tinyint NULL DEFAULT 0 COMMENT '删除标志(0正常，1删除，默认0)',
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '更新人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`remark` varchar(50) NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '现场勘验人员人脸识别记录表' ROW_FORMAT = DYNAMIC;