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;


/**
 * @description:
 * @author：zc.
 * @createData：2024-1-17 上午 10:34
 * @projectName：anmo
 * @className：userRecharge
 * @packageName：com.sqx.modules.artificer.entity
 */
@Data
@TableName("bl_shipinquan_pinglun")
public class BlShipinquanPinglun implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建实践
    private Long createBy;//创建人
    private String content;//发布内容
    private int shipinquanId;//主表id
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String userPhoto;


}
