package top.tqx.demo_1.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.time.LocalDateTime;

@Data
@TableName("collection_file")
public class CollectionFile {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("collection_name")
    private String collectionName;

    @TableField("doc_name")
    private String docName;

    @TableField("file_id")
    private Long fileId;

    @TableField("file_path")
    private String filePath;

    @TableField("doc_type")
    private String docType;

    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;
}
