package jnpf.model.cultivate.po.teaching;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * 带教/练习 - 用户浏览记录 
 * @author yanwenfu 
 * @create 2026-03-04 
 */

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

	private static final long serialVersionUID =  3422177371591329649L;

	/** 带教/练习id */
   	@TableField(value = "F_BizId")
	private String bizId;

	/** 用户id */
   	@TableField(value = "F_UserId")
	private String userId;

	public CultivateUserView(String id, String bizId, String userId) {
		super.setId(id);
		this.bizId = bizId;
		this.userId = userId;
		super.setCreatorUserId(userId);
		super.setCreatorTime(new Date());
	}
}
