package com.stylefeng.guns.modular.shunfeng.model;
import java.io.Serializable;
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;
/**
*
* 投诉管理; InnoDB free: 10240 kB
*
*
* @author wumeng123
* @since 2019-08-29
*/
@TableName("app_complaints")
public class Complaints extends Model {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 时间
*/
private Date addTime;
/**
* 用户ID
*/
private Integer userId;
/**
* 内容
*/
private String content;
/**
* 备注
*/
private String reMark;
/**
* 投诉用户电话
*/
private String phone;
/**
* 投诉司机
*/
private Integer driverId;
/**
* 1未处理,2已处理
*/
private Integer state;
/**
* 1其他,2出租车司机
*/
private Integer type;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Date getAddTime() {
return addTime;
}
public void setAddTime(Date addTime) {
this.addTime = addTime;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getReMark() {
return reMark;
}
public void setReMark(String reMark) {
this.reMark = reMark;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public Integer getDriverId() {
return driverId;
}
public void setDriverId(Integer driverId) {
this.driverId = driverId;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "Complaints{" +
"id=" + id +
", addTime=" + addTime +
", userId=" + userId +
", content=" + content +
", reMark=" + reMark +
", phone=" + phone +
", driverId=" + driverId +
", state=" + state +
"}";
}
}