package com.yd.csf.service.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_oper_data_change
 */
@TableName(value ="sys_oper_data_change")
@Data
public class SysOperDataChange {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String requestId;

    /**
     * 关联 sys_oper_log.id(MP拦截器路径不设置,由request_id关联)
     */
    private Long operLogId;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 记录主键
     */
    private String recordId;

    /**
     * 字段名
     */
    private String fieldName;

    /**
     * 字段中文名
     */
    private String fieldComment;

    /**
     * 变更前值
     */
    private String oldValue;

    /**
     * 变更后值
     */
    private String newValue;

    /**
     * ADD/MODIFY/DELETE
     */
    private String changeType;

    /**
     * 
     */
    private Date createTime;
}