package com.pig4cloud.pigx.app.api.entity.as;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("as_sub_product_comment")
@Schema(description = "订阅产品评价")
public class AsSubProductComment {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Long id;
    @Schema(description = "评分")
    private Integer star;
    @Schema(description = "评价")
    private String comment;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "产品id")
    private Long productId;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
