package cn.iocoder.yudao.module.system.dal.dataobject.face;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_face")
public class UserFace {
	@TableId
	private Long userId;
	private byte[] featureValue;
	private String url;
	private Long sysUserId;
	private String name;
	private String phone;
	private LocalDateTime createTime;

	public UserFace(Long userId, Long sysUserId, String phone, String name, String url) {
		this.phone = phone;
		this.name = name;
		this.sysUserId = sysUserId;
		this.userId = userId;
		this.url = url;
	}
}
