package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 转人工服务会话对象 manual_service_sessions
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class ManualServiceSessions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 转人工会话ID */
    private Long manualSessionId;

    /** 原会话ID */
    @Excel(name = "原会话ID")
    private String sessionId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 客服ID */
    @Excel(name = "客服ID")
    private Long serviceId;

    /** 客服人员 */
    @Excel(name = "客服人员")
    private String serviceStaff;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 转人工请求时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "转人工请求时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date requestTime;

    /** 接受时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "接受时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date acceptTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 转人工原因 */
    @Excel(name = "转人工原因")
    private String reason;

    /** 满意度评分 */
    @Excel(name = "满意度评分")
    private Integer rating;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String feedback;

    public void setManualSessionId(Long manualSessionId) 
    {
        this.manualSessionId = manualSessionId;
    }

    public Long getManualSessionId() 
    {
        return manualSessionId;
    }
    public void setSessionId(String sessionId) 
    {
        this.sessionId = sessionId;
    }

    public String getSessionId() 
    {
        return sessionId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setServiceStaff(String serviceStaff) 
    {
        this.serviceStaff = serviceStaff;
    }

    public String getServiceStaff() 
    {
        return serviceStaff;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setRequestTime(Date requestTime) 
    {
        this.requestTime = requestTime;
    }

    public Date getRequestTime() 
    {
        return requestTime;
    }
    public void setAcceptTime(Date acceptTime) 
    {
        this.acceptTime = acceptTime;
    }

    public Date getAcceptTime() 
    {
        return acceptTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setRating(Integer rating) 
    {
        this.rating = rating;
    }

    public Integer getRating() 
    {
        return rating;
    }
    public void setFeedback(String feedback) 
    {
        this.feedback = feedback;
    }

    public String getFeedback() 
    {
        return feedback;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("manualSessionId", getManualSessionId())
            .append("sessionId", getSessionId())
            .append("userId", getUserId())
            .append("serviceId", getServiceId())
            .append("serviceStaff", getServiceStaff())
            .append("startTime", getStartTime())
            .append("requestTime", getRequestTime())
            .append("acceptTime", getAcceptTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("reason", getReason())
            .append("rating", getRating())
            .append("feedback", getFeedback())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}