package io.bdty.modules.cniyv.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
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 java.util.Date;

/**
 * 文章
 *
 * @author zxj zxj
 * @since 1.0.0 2024-03-13
 */
@Data
@TableName("cniyv_article")
public class CniyvArticleEntity {

          /**
     * 
     */
    @TableId
	private Long ptsid;
                 /**
     * 
     */
	private String title;
                    /**
     * 
     */
	private String content;
                    /**
     * 
     */
	private Long typeid;
                           /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
	private Long creator;
             /**
     * 
     */
	private Integer taix;
                    /**
     * 
     */
	private String thumbnail;
                    /**
     * 统计
     */
	private Integer count;
                              /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createDate;
   }