package com.palmnest.model.estateserve;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 员工和访客存储图片实体类
 *
 * @author HJY
 */
@Entity
@Table(name = "tb_userimageinfo")
@SuppressWarnings("serial")
public class UserImageInfo implements java.io.Serializable {

	private Integer imageId;// 主键ID

	private String imageUrl;// 图片地址

	private Integer userId;//用户ID

	private Integer imageFacePlusId;// face++唯一标识

	private String imageType;// 图片类型1-员工，2-访客

	private String imageFaceUrl;//face图片Url

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "imageId", unique = true, nullable = false)
	public Integer getImageId() {
		return imageId;
	}

	public void setImageId(Integer imageId) {
		this.imageId = imageId;
	}

	@Column(name = "imageUrl")
	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	@Column(name = "imageFacePlusId")
	public Integer getImageFacePlusId() {
		return imageFacePlusId;
	}

	public void setImageFacePlusId(Integer imageFacePlusId) {
		this.imageFacePlusId = imageFacePlusId;
	}

	@Column(name = "imageType")
	public String getImageType() {
		return imageType;
	}

	public void setImageType(String imageType) {
		this.imageType = imageType;
	}

	@Column(name = "userId")
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "imageFaceUrl")
	public String getImageFaceUrl() {
		return imageFaceUrl;
	}

	public void setImageFaceUrl(String imageFaceUrl) {
		this.imageFaceUrl = imageFaceUrl;
	}

}
