package com.bcxin.ars.model.sys;


import com.bcxin.ars.model.BaseModel;
import lombok.Data;

/**
 * 数据变更记录表
 *
 * @author linqinglin
 * @Date 2020-05-09 14:18:13
 */
@Data
public class DataChange extends BaseModel {

    private static final long serialVersionUID = 1L;
    /**
    * 方法名
    * 
    */
    private String methodName;
    /**
    * 实体类名
    *
    */
    private String entityClazz;
    /**
    * 表名
    * 
    */
    private String tableName;
    /**
    * 字段名
    *
    */
    private String fieldName;
    /**
    * 字段值
    * 
    */
    private String fieldValue;
    /**
    * 改变值
    * 
    */
    private String content;

    public DataChange(String methodName,String entityClazz,String tableName,String fieldName,String fieldValue,String content){
        this.methodName = methodName;
        this.entityClazz = entityClazz;
        this.tableName = tableName;
        this.fieldName = fieldName;
        this.fieldValue = fieldValue;
        this.content = content;
    }
 	
    @Override
    public boolean equals (Object o){
        return super.equals(o);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }
}