package com.sqx.modules.shipinquan.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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("bl_shipinquan")
public class BlShipinquan implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;//创建实践
    private Long createBy;//创建人
    private String content;//发布内容
    private String filePath;//路径
    private String picPath;//封面
    private int dzs;//点赞数
    private int pls;//评论数
    private int type;//类型（0视频，1图片目前都是视频，预留）

    @TableField(exist = false)
    private String artificerImg;

    @TableField(exist = false)
    private String sfdz;//是否点赞（0未点赞  1点赞）

    @TableField(exist = false)
    private String parType;//1推荐视频  2附近视频  3关注视频
    /**
     * 经度
     */
    @TableField(exist = false)
    private String longitude;
    /**
     * 纬度
     */
    @TableField(exist = false)
    private String latitude;

    @TableField(exist = false)
    private String userId;

    @TableField(exist = false)
    private String artificerName;



}
