package jnpf.entity.attendance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 人脸变动记录 
 * @author yanwenfu 
 * @create 2025-04-14 
 */

@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName ( value ="ftb_attendance_face_change_log" )
public class FtbAttendanceFaceChangeLog extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {

	private static final long serialVersionUID =  7895549838561202615L;

	/** 被变动人id */
   	@TableField(value = "F_UserId")
	private String userId;

	/** 人脸id */
   	@TableField(value = "F_FaceId")
	private String faceId;

	/** 操作内容 */
   	@TableField(value = "F_Content")
	private String content;

	public FtbAttendanceFaceChangeLog(String userId, String content, String createBy) {
		this.userId = userId;
		this.content = content;
		super.setCreatorUserId(createBy);
	}

	public FtbAttendanceFaceChangeLog(String userId, String faceId, String content, String createBy) {
		this.userId = userId;
		this.faceId = faceId;
		this.content = content;
		super.setCreatorUserId(createBy);
	}
}
