商品评论
parent
b54775f50d
commit
a83789a1ae
|
@ -0,0 +1,117 @@
|
||||||
|
package com.nuyu.product.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.muyu.common.core.annotation.Excel;
|
||||||
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品评价对象 mall_product_review_info
|
||||||
|
*
|
||||||
|
* @author muyu
|
||||||
|
* @date 2024-05-08
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class MallProductReviewInfo extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** ID */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
private Integer pageSize=10;
|
||||||
|
|
||||||
|
private Integer pageNum=1;
|
||||||
|
|
||||||
|
/** 商品名称 */
|
||||||
|
@Excel(name = "商品名称")
|
||||||
|
private Long productId;
|
||||||
|
|
||||||
|
/** 商品SKU */
|
||||||
|
@Excel(name = "商品SKU")
|
||||||
|
private Long productRuleCententId;
|
||||||
|
|
||||||
|
/** 商品评价图片 */
|
||||||
|
@Excel(name = "商品评价图片")
|
||||||
|
private String reviewImages;
|
||||||
|
|
||||||
|
/** 商品评价信息 */
|
||||||
|
@Excel(name = "商品评价信息")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
/** 乐观锁 */
|
||||||
|
@Excel(name = "乐观锁")
|
||||||
|
private Long revision;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setProductId(Long productId)
|
||||||
|
{
|
||||||
|
this.productId = productId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getProductId()
|
||||||
|
{
|
||||||
|
return productId;
|
||||||
|
}
|
||||||
|
public void setProductRuleCententId(Long productRuleCententId)
|
||||||
|
{
|
||||||
|
this.productRuleCententId = productRuleCententId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getProductRuleCententId()
|
||||||
|
{
|
||||||
|
return productRuleCententId;
|
||||||
|
}
|
||||||
|
public void setReviewImages(String reviewImages)
|
||||||
|
{
|
||||||
|
this.reviewImages = reviewImages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getReviewImages()
|
||||||
|
{
|
||||||
|
return reviewImages;
|
||||||
|
}
|
||||||
|
public void setContent(String content)
|
||||||
|
{
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent()
|
||||||
|
{
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
public void setRevision(Long revision)
|
||||||
|
{
|
||||||
|
this.revision = revision;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getRevision()
|
||||||
|
{
|
||||||
|
return revision;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("productId", getProductId())
|
||||||
|
.append("productRuleCententId", getProductRuleCententId())
|
||||||
|
.append("reviewImages", getReviewImages())
|
||||||
|
.append("content", getContent())
|
||||||
|
.append("revision", getRevision())
|
||||||
|
.append("createBy", getCreateBy())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateBy", getUpdateBy())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue