package com.ruoyi.system.domain;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
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;
|
|
/**
|
* 客户评价对象 customer_evaluation
|
*
|
* @author ruoyi
|
* @date 2025-01-27
|
*/
|
public class CustomerEvaluation extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/** 评价ID */
|
private Long evaluationId;
|
|
/** 车牌号 */
|
@Excel(name = "车牌号")
|
private String vehicleNo;
|
|
/** 客户姓名 */
|
@Excel(name = "客户姓名")
|
private String customerName;
|
|
/** 客户手机号 */
|
@Excel(name = "客户手机号")
|
private String customerPhone;
|
|
/** 微信OpenID */
|
@Excel(name = "微信OpenID")
|
private String wechatOpenid;
|
|
/** 微信昵称 */
|
@Excel(name = "微信昵称")
|
private String wechatNickname;
|
|
/** 微信头像 */
|
@Excel(name = "微信头像")
|
private String wechatAvatar;
|
|
/** 微信绑定手机号 */
|
@Excel(name = "微信绑定手机号")
|
private String wechatPhone;
|
|
/** 总评分 */
|
@Excel(name = "总评分")
|
private BigDecimal totalScore;
|
|
/** 评价状态(0待评价 1已评价) */
|
@Excel(name = "评价状态", readConverterExp = "0=待评价,1=已评价")
|
private String evaluationStatus;
|
|
/** 评价时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date evaluationTime;
|
|
/** IP地址 */
|
@Excel(name = "IP地址")
|
private String ipAddress;
|
|
/** 用户代理 */
|
@Excel(name = "用户代理")
|
private String userAgent;
|
|
/** 评价详情列表 */
|
private List<EvaluationDetail> evaluationDetails;
|
|
public void setEvaluationId(Long evaluationId) {
|
this.evaluationId = evaluationId;
|
}
|
|
public Long getEvaluationId() {
|
return evaluationId;
|
}
|
|
public void setVehicleNo(String vehicleNo) {
|
this.vehicleNo = vehicleNo;
|
}
|
|
public String getVehicleNo() {
|
return vehicleNo;
|
}
|
|
public void setCustomerName(String customerName) {
|
this.customerName = customerName;
|
}
|
|
public String getCustomerName() {
|
return customerName;
|
}
|
|
public void setCustomerPhone(String customerPhone) {
|
this.customerPhone = customerPhone;
|
}
|
|
public String getCustomerPhone() {
|
return customerPhone;
|
}
|
|
public void setWechatOpenid(String wechatOpenid) {
|
this.wechatOpenid = wechatOpenid;
|
}
|
|
public String getWechatOpenid() {
|
return wechatOpenid;
|
}
|
|
public void setWechatNickname(String wechatNickname) {
|
this.wechatNickname = wechatNickname;
|
}
|
|
public String getWechatNickname() {
|
return wechatNickname;
|
}
|
|
public void setWechatAvatar(String wechatAvatar) {
|
this.wechatAvatar = wechatAvatar;
|
}
|
|
public String getWechatAvatar() {
|
return wechatAvatar;
|
}
|
|
public void setWechatPhone(String wechatPhone) {
|
this.wechatPhone = wechatPhone;
|
}
|
|
public String getWechatPhone() {
|
return wechatPhone;
|
}
|
|
public void setTotalScore(BigDecimal totalScore) {
|
this.totalScore = totalScore;
|
}
|
|
public BigDecimal getTotalScore() {
|
return totalScore;
|
}
|
|
public void setEvaluationStatus(String evaluationStatus) {
|
this.evaluationStatus = evaluationStatus;
|
}
|
|
public String getEvaluationStatus() {
|
return evaluationStatus;
|
}
|
|
public void setEvaluationTime(Date evaluationTime) {
|
this.evaluationTime = evaluationTime;
|
}
|
|
public Date getEvaluationTime() {
|
return evaluationTime;
|
}
|
|
public void setIpAddress(String ipAddress) {
|
this.ipAddress = ipAddress;
|
}
|
|
public String getIpAddress() {
|
return ipAddress;
|
}
|
|
public void setUserAgent(String userAgent) {
|
this.userAgent = userAgent;
|
}
|
|
public String getUserAgent() {
|
return userAgent;
|
}
|
|
public List<EvaluationDetail> getEvaluationDetails() {
|
return evaluationDetails;
|
}
|
|
public void setEvaluationDetails(List<EvaluationDetail> evaluationDetails) {
|
this.evaluationDetails = evaluationDetails;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("evaluationId", getEvaluationId())
|
.append("vehicleNo", getVehicleNo())
|
.append("customerName", getCustomerName())
|
.append("customerPhone", getCustomerPhone())
|
.append("wechatOpenid", getWechatOpenid())
|
.append("wechatNickname", getWechatNickname())
|
.append("wechatAvatar", getWechatAvatar())
|
.append("wechatPhone", getWechatPhone())
|
.append("totalScore", getTotalScore())
|
.append("evaluationStatus", getEvaluationStatus())
|
.append("evaluationTime", getEvaluationTime())
|
.append("ipAddress", getIpAddress())
|
.append("userAgent", getUserAgent())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("remark", getRemark())
|
.toString();
|
}
|
}
|