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.annotations.TableField;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 投诉管理
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-06-09
|
*/
|
@TableName("t_complaint")
|
public class TComplaint extends Model<TComplaint> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户Id
|
*/
|
private Integer userId;
|
/**
|
* 投诉原因
|
*/
|
private String reason;
|
/**
|
* 被投诉人Id
|
*/
|
private Long driverId;
|
/**
|
* 描述
|
*/
|
private String description;
|
/**
|
* 是否处理(0:未处理,1:已处理)
|
*/
|
private Integer isHandle;
|
/**
|
* 投诉时间
|
*/
|
@TableField("insert_time")
|
private Date insertTime;
|
/**
|
* 处理结果
|
*/
|
private String handleResult;
|
/**
|
* 处理人id
|
*/
|
private Integer handleUserId;
|
/**
|
* 处理时间
|
*/
|
private Date handleTime;
|
|
public Date getHandleTime() {
|
return handleTime;
|
}
|
|
public void setHandleTime(Date handleTime) {
|
this.handleTime = handleTime;
|
}
|
|
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 Long getDriverId() {
|
return driverId;
|
}
|
|
public void setDriverId(Long 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
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TComplaint{" +
|
"id=" + id +
|
", userId=" + userId +
|
", reason=" + reason +
|
", driverId=" + driverId +
|
", description=" + description +
|
", isHandle=" + isHandle +
|
", insertTime=" + insertTime +
|
", handleResult=" + handleResult +
|
", handleUserId=" + handleUserId +
|
"}";
|
}
|
}
|