package com.yeejoin.amos.boot.biz.common.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 公共实体类
 *
 * @author DELL
 */
@Data
public class BaseEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@TableId(value = "sequence_nbr", type = IdType.ID_WORKER)
	protected Long sequenceNbr;

	@TableField(value = "rec_date", fill = FieldFill.INSERT_UPDATE)
	protected Date recDate;

	@TableField(value = "rec_user_id", fill = FieldFill.INSERT_UPDATE)
	protected String recUserId;

	@TableField(value = "rec_user_name", fill = FieldFill.INSERT_UPDATE)
	protected String recUserName;

	/**
	 * 是否删除
	 */
	@TableField(value = "is_delete")
	public Boolean isDelete=false;

}
