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

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String path;
    private String uploader;
    private String department;
    private String ownerType;
    private String visibility;
    private Long fileSize;
    private String displayName;
    private String description;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("sync_status")
    private String syncStatus;
    @TableField("last_sync_time")
    private LocalDateTime lastSyncTime;
    @TableField("sync_message")
    private String syncMessage;
}
