package com.pictc.orm;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@SuppressWarnings("serial")
public abstract class BaseMasterEntity implements Serializable {
	
	/**
	 * 
	*/
	@ApiModelProperty("")
	@TableId
	private Long id;
	
	/**
	* 创建人ID
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;
	/**
	* 创建时间
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createDate;
	/**
	* 修改人ID
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.UPDATE)
	private Long modifyUserId;
	/**
	* 修改时间
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.UPDATE)
	private LocalDateTime modifyDate;
	/**
	* 逻辑删除标识
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.INSERT)
	@TableLogic
	private Integer deleteMark;
	/**
	* 启用/作废标识
	*/
	@ApiModelProperty("")
	@TableField(fill = FieldFill.INSERT)
	private Integer enabledMark;
	/**
	* 租户ID
	*/
	@ApiModelProperty("")
	private Long tenantId;

}
