package com.sqx.modules.bl.collect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *  浏览记录
 * @author caolei 2024-06-14
 */
@Data
@TableName("bl_collect_massage")
public class CollectMassage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 浏览记录id
     */
    @TableId(type = IdType.INPUT)
    private long collectId;

    /**
     * 服务或项目id
     */

    private Long projectId;

    /**
     * 用户id
     */

    private Long userId;

    /**
     * 创建时间
     */

    private String createTime;

    /**
     * 1收藏 2浏览记录
     */
    private Integer classify;

    /**
     * 1项目 2服务包
     */
    private Integer flag;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer limit;


    @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private String massageImg;
    @TableField(exist = false)
    private BigDecimal oldPrice;
    @TableField(exist = false)
    private BigDecimal price;
    @TableField(exist = false)
    private String content;
    @TableField(exist = false)
    private Integer type;
    @TableField(exist = false)
    private String remarks;
    @TableField(exist = false)
    private String labels;
    /**
     * 服务分类ID
     */
    @TableField(exist = false)
    private Integer classifyId;
    /**
     * 服务分类
     */
    @TableField(exist = false)
    private String classifyName;
    /**
     * 类型名称
     */
    @TableField(exist = false)
    private String typeName;
}
