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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Captain
 * @since 2025-06-10
 */
@Getter
@Setter
@TableName("mall_comment")
@Schema(name = "CommentEntity对象", description = "")
public class CommentEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "类型")
    @TableField("type_id")
    private Integer typeId;

    @TableField("value_id")
    private Integer valueId;

    @Schema(description = "储存为base64编码")
    @TableField("content")
    private String content;

    @Schema(description = "记录时间")
    @TableField("add_time")
    private Long addTime;

    @Schema(description = "状态")
    @TableField("`status`")
    private Integer status;

    @Schema(description = "会员Id")
    @TableField("user_id")
    private Integer userId;


}