package io.modules.item.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 评论表
 */
@Data
@Schema(name = "评论表")
public class CommentDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "编号")
	private Long id;

	@SchemaProperty(name = "用户编号")
	private Long userId;

	@SchemaProperty(name = "用户昵称")
	private String nickName;

	@SchemaProperty(name = "内容")
	private String content;

	private Long itemId;

	@SchemaProperty(name = "创建时间")
	private Date createTime;
	/**
	 * 评分
	 */
	private String score;

	private ItemDTO itemDTO;
}
