package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 消息数量
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-05-11
|
*/
|
@TableName("tb_mess_num")
|
public class TbMessNum extends Model<TbMessNum> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户类型(1=用户,2=司机,3=企业)
|
*/
|
private Integer userType;
|
/**
|
* 对应用户id
|
*/
|
private Integer userId;
|
/**
|
* 评论数量
|
*/
|
private Integer commentNum;
|
/**
|
* 卖车
|
*/
|
private Integer sellingCarNum;
|
/**
|
* 租车
|
*/
|
private Integer carRental;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserType() {
|
return userType;
|
}
|
|
public void setUserType(Integer userType) {
|
this.userType = userType;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Integer getCommentNum() {
|
return commentNum;
|
}
|
|
public void setCommentNum(Integer commentNum) {
|
this.commentNum = commentNum;
|
}
|
|
public Integer getSellingCarNum() {
|
return sellingCarNum;
|
}
|
|
public void setSellingCarNum(Integer sellingCarNum) {
|
this.sellingCarNum = sellingCarNum;
|
}
|
|
public Integer getCarRental() {
|
return carRental;
|
}
|
|
public void setCarRental(Integer carRental) {
|
this.carRental = carRental;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TbMessNum{" +
|
"id=" + id +
|
", userType=" + userType +
|
", userId=" + userId +
|
", commentNum=" + commentNum +
|
", sellingCarNum=" + sellingCarNum +
|
", carRental=" + carRental +
|
"}";
|
}
|
}
|