package com.seer.teach.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品操作日志表
 * </p>
 *
 * @author Wang
 * @since 2025-09-12 15:05:53
 */
@Getter
@Setter
@TableName("mall_goods_log")
public class GoodsLogEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    @TableField("goods_id")
    private Integer goodsId;

    /**
     * 操作人ID
     */
    @TableField("operator_id")
    private Integer operatorId;

    @TableField(exist =false)
    private String operatorName;

    /**
     * 操作内容
     */
    @TableField("operator_content")
    private String operatorContent;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
}