src/com/ischoolbar/programmer/entity/common/Comment.java

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.ischoolbar.programmer.entity.common;

import java.util.Date;

import org.springframework.stereotype.Component;

/**
 * 评论实体
 * @author Administrator
 *
 */
@Component
public class Comment {
	
	private Long id;//评论id
	
	private Long productId;//所属商品id
	
	private Product product;
	
	private Long userId;//所属用户id
	
	private Account account;
	
	private int type;//评价类型,0:差评,1:好评,2:中评
	
	private String content;//评论内容
	
	private Date createTime;//评论时间

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	
	

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public int getType() {
		return type;
	}
后面还有 42 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。