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_type")
public class CniyvArticleTypeEntity {

          /**
     * 
     */
    @TableId
	private Long ptsid;
                 /**
     * 
     */
	private Integer zntid;
                    /**
     * 
     */
	private String name;
                    /**
     * 
     */
	private Integer parentid;
                    /**
     * 
     */
	private Integer selectid;
                    /**
     * 
     */
	private String link;
                    /**
     * 
     */
	private String thumbnail;
                    /**
     * 
     */
	private Integer sort;
                           /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
	private Long creator;
                       /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createDate;
   }