数据库
数据库sql
CREATE TABLE `sys_faces` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`img` varchar(255) DEFAULT NULL COMMENT '抓拍照',
`name` varchar(255) DEFAULT NULL COMMENT '姓名',
`sex` int(2) DEFAULT NULL COMMENT '性别 ',
`create_time` varchar(255) DEFAULT NULL COMMENT '创建时间',
`user_id` int(4) DEFAULT NULL COMMENT 'id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=84048 DEFAULT CHARSET=utf8 COMMENT='采集表';
实体类
package com.ruoyi.user.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Table;
/**
* 采集对象 sys_faces
*
* @author ruoyi
* @date 2021-07-06
*/
@Table
public class SysFaces
{
private static final long serialVersionUID = 1L;
/** ID */
@Excel(name = "ID")
@Column(name