package cn.momia.api.product.comment;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;
import java.util.List;

public class Comment {
    private long id;
    private long productId;
    private long skuId;
    private long userId;
    private int star;
    private String content;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss") private Date addTime;
    private List<String> imgs;

    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 getSkuId() {
        return skuId;
    }

    public void setSkuId(long skuId) {
        this.skuId = skuId;
    }

    public long getUserId() {
        return userId;
    }

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

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }
}

@@ -247,24 +247,80 @@
 ong userId;%0A
+    private String nickName;%0A    private String avatar;%0A
     private 
@@ -990,32 +990,328 @@
  userId;%0A    %7D%0A%0A
+    public String getNickName() %7B%0A        return nickName;%0A    %7D%0A%0A    public void setNickName(String nickName) %7B%0A        this.nickName = nickName;%0A    %7D%0A%0A    public String getAvatar() %7B%0A        return avatar;%0A    %7D%0A%0A    public void setAvatar(String avatar) %7B%0A        this.avatar = avatar;%0A    %7D%0A%0A
     public int g

comment add user info