package shop.alien.storeplatform.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 店铺讨论点赞记录表
 *
 * @author alien
 * @since 2025-12-30
 */
@Data
@TableName("store_discussion_like")
@ApiModel(value = "StorePlatformDiscussionLike对象", description = "店铺讨论点赞记录表")
public class StorePlatformDiscussionLike {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "讨论ID")
    @TableField("discussion_id")
    private Integer discussionId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;
}

