package com.xindazhou.platform.dal.service.dataobject.evaluation;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xindazhou.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

/**
 * 服务评价 DO
 *
 * @author xindazhou
 */
@TableName("service_evaluation")
@KeySequence("service_evaluation_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EvaluationDO extends BaseDO {

    /**
     * 评价ID
     */
    @TableId
    private Long id;

    /**
     * 评价编号
     */
    private String evaluationId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 评分：1-5星
     */
    private Integer rating;

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

    /**
     * 评价图片列表（JSON数组）
     */
    private String images;

}

