package com.sqx.modules.taking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("接单评论")
public class TakingCommnt implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 点赞次数
     */
    @TableField(exist = false)
    private Long count;
    /**
     * 邮件
     */
    private String mail;

    private Integer score;

    private Long artificerId;

    private Long massageTypeId;

    //技师名称
    @TableField(exist = false)
    private String artificerName;
    //服务名称
    @TableField(exist = false)
    private String title;
    //服务时间
    @TableField(exist = false)
    private String serserveTime;
    //客户名称
    @TableField(exist = false)
    private String userName;


}
