package cn.cslg.pas.domain;

import cn.cslg.pas.common.model.BaseEntity;
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 java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 专题库数据导出记录
 * @TableName os_thematic_export
 */
@Data
@TableName(value ="os_thematic_export")
public class ProjectExport extends BaseEntity<ProjectExport> {

    /**
     * 创建者
     */
    private Integer createBy;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 专题库
     */
    private Integer projectId;

    /**
     * 存放路径
     */
    private String url;

    /**
     * 文件名
     */
    private String fileName;

    private Long fileSize;

    @TableField(exist = false)
    private String createName;

    @TableField(exist = false)
    private String projectName;
}