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

import com.alibaba.fastjson.annotation.JSONField;
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 BaseRelationEntity 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)
	@JSONField(format = "yyyy-MM-dd")
	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;

}
