package com.starry.admin.modules.clerk.module.entity;

import java.util.Date;
import lombok.Data;

/**
 * 店员评价信息
 *
 * @author admin
 */
@Data
public class PlayClerkUserEvaluateInfoEntity {

    private String id;

    /**
     * 评价人ID
     */
    private String evaluatorId;

    /**
     * 评价人昵称
     */
    private String evaluatorUsername;

    /**
     * 评价人头像
     */
    private String evaluatorAvatar;

    /**
     * 评价内容
     */
    private String con;

    /**
     * 评价时间
     */
    private Date evaluateTime;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 店员昵称
     */
    private String clerkUsername;

    /**
     * 商品ID
     */
    private String commodityId;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品单位
     */
    private String commodityUnit;

    /**
     * 点赞数
     */
    public Integer likeCount;

    public PlayClerkUserEvaluateInfoEntity(String id, String evaluatorId, String evaluatorUsername,
            String evaluatorAvatar, String con, Date evaluateTime, String orderId, String clerkUsername,
            String commodityId, String commodityName, String commodityUnit) {
        this.id = id;
        this.evaluatorId = evaluatorId;
        this.evaluatorUsername = evaluatorUsername;
        this.evaluatorAvatar = evaluatorAvatar;
        this.con = con;
        this.evaluateTime = evaluateTime;
        this.orderId = orderId;
        this.clerkUsername = clerkUsername;
        this.commodityId = commodityId;
        this.commodityName = commodityName;
        this.commodityUnit = commodityUnit;
    }

    public PlayClerkUserEvaluateInfoEntity(String id, String evaluatorId, String evaluatorUsername,
            String evaluatorAvatar, String con, Date evaluateTime, String orderId, String clerkUsername,
            String commodityId, String commodityName, String commodityUnit, int likeCount) {
        this.id = id;
        this.evaluatorId = evaluatorId;
        this.evaluatorUsername = evaluatorUsername;
        this.evaluatorAvatar = evaluatorAvatar;
        this.con = con;
        this.evaluateTime = evaluateTime;
        this.orderId = orderId;
        this.clerkUsername = clerkUsername;
        this.commodityId = commodityId;
        this.commodityName = commodityName;
        this.commodityUnit = commodityUnit;
        this.likeCount = likeCount;
    }

}
