package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
|
import java.util.Date;
|
|
/**
|
* 投诉
|
*/
|
@TableName("t_complaint")
|
public class Complaint {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 投诉原因
|
*/
|
@TableField("reason")
|
private String reason;
|
/**
|
* 司机id
|
*/
|
@TableField("driverId")
|
private Integer driverId;
|
/**
|
* 描述
|
*/
|
@TableField("description")
|
private String description;
|
/**
|
* 处理状态(0=未处理,1=已处理)
|
*/
|
@TableField("isHandle")
|
private Integer isHandle;
|
/**
|
* 添加时间
|
*/
|
@TableField("insert_time")
|
private Date insertTime;
|
/**
|
* 处理结果
|
*/
|
@TableField("handleResult")
|
private String handleResult;
|
/**
|
* 处理人id
|
*/
|
@TableField("handleUserId")
|
private Integer handleUserId;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
public Integer getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Integer driverId) {
|
this.driverId = driverId;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Integer getIsHandle() {
|
return isHandle;
|
}
|
|
public void setIsHandle(Integer isHandle) {
|
this.isHandle = isHandle;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public String getHandleResult() {
|
return handleResult;
|
}
|
|
public void setHandleResult(String handleResult) {
|
this.handleResult = handleResult;
|
}
|
|
public Integer getHandleUserId() {
|
return handleUserId;
|
}
|
|
public void setHandleUserId(Integer handleUserId) {
|
this.handleUserId = handleUserId;
|
}
|
|
@Override
|
public String toString() {
|
return "Complaint{" +
|
"id=" + id +
|
", userId=" + userId +
|
", reason='" + reason + '\'' +
|
", driverId=" + driverId +
|
", description='" + description + '\'' +
|
", isHandle=" + isHandle +
|
", insertTime=" + insertTime +
|
", handleResult='" + handleResult + '\'' +
|
", handleUserId=" + handleUserId +
|
'}';
|
}
|
}
|