package com.iformall.domain.po.invest;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.iformall.enums.EnumTableOperateType;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 操作记录
 *
 * @author
 * @email
 * @date 2019-09-24 14:48:11
 */
@Data
@TableName("invest_operate_record")
@EqualsAndHashCode(callSuper = true)
public class InvestOperateRecordEntity extends InvestBaseEntity {

	public static final String TLB_CUSTOMER = "invest_customer" ;
	public static final String TLB_DEMAND = "invest_demand" ;
	public static final String TLB_TASK = "invest_task" ;

	/**
	 * 表名称
	 */
	@io.swagger.annotations.ApiModelProperty(value = "表名称", name = "tbl")
	private String tbl;
	/**
	 * 主键ID
	 */
	@io.swagger.annotations.ApiModelProperty(value = "主键ID", name = "tid")
	private Long tid;
	/**
	 * 操作人：0-系统;其它
	 */
	@io.swagger.annotations.ApiModelProperty(value = "操作人：0-系统;其它", name = "operator")
	private Long operator;
	/**
	 * 操作类型：0-ADD;1-UPDATE;2-DELETE
	 */
	@io.swagger.annotations.ApiModelProperty(value = "操作类型：0-ADD;1-UPDATE;2-DELETE", name = "operateType")
	private EnumTableOperateType operateType;
	/**
	 * 更新内容
	 */
	@io.swagger.annotations.ApiModelProperty(value = "更新前", name = "content",example = "[{\"after\": \"13366183866\", \"before\": \"15811234999\", \"column\": \"phone\"}]")
    private String content;

	@JsonIgnore
	@TableField(exist = false)
	private Date updateDate;
}
