package com.huimv.face.domain;

import lombok.Data;

import javax.persistence.*;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.face.domain
 * @Description : 图片保存
 * @Author : yuxuexuan
 * @Create : 2020/12/30 0030 18:13
 **/
@Entity
@Data
@Table(name = "face_user_img")
public class FaceUserImgs {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private  int id;

    @Column(name = "user_id")
    private String userId;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "img")
    private byte[] img;

}
