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 lombok.Data; /** * 消息数量 * @author pzb * @Date 2022/6/14 10:52 */ @Data @TableName("tb_mess_num") public class MessNum { //主键 @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; //用户类型(1=用户,2=司机,3=企业) @TableField("userType") private Integer userType; //对应用户id @TableField("userId") private Integer userId; //评论数量 @TableField("commentNum") private Integer commentNum; //买车 @TableField("sellingCarNum") private Integer sellingCarNum; //租车 @TableField("carRental") private Integer carRental; }