package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
* 订单评价
*
*
* @author 吕雪
* @since 2020-06-09
*/
@TableName("t_order_evaluate")
public class TOrderEvaluate extends Model {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 订单id
*/
private Integer orderId;
/**
* 司机id
*/
private Integer driverId;
/**
* 1=快车,2=出租车,3=跨城出行,4=同城小件物流,5=跨城小件物流,6=包车
*/
private Integer orderType;
/**
* 评分 0-5
*/
private Double fraction;
/**
* 评价内容
*/
private String content;
/**
* 评价时间
*/
private Date insertTime;
/**
* 评价用户ID
*/
private Integer userId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getOrderId() {
return orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public Integer getDriverId() {
return driverId;
}
public void setDriverId(Integer driverId) {
this.driverId = driverId;
}
public Integer getOrderType() {
return orderType;
}
public void setOrderType(Integer orderType) {
this.orderType = orderType;
}
public Double getFraction() {
return fraction;
}
public void setFraction(Double fraction) {
this.fraction = fraction;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public Date getInsertTime() {
return insertTime;
}
public void setInsertTime(Date insertTime) {
this.insertTime = insertTime;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "TOrderEvaluate{" +
"id=" + id +
", orderId=" + orderId +
", driverId=" + driverId +
", orderType=" + orderType +
", fraction=" + fraction +
", content=" + content +
", insertTime=" + insertTime +
", userId=" + userId +
"}";
}
}