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_import
 */
@Data
@TableName(value = "os_thematic_import")
public class ProjectImport extends BaseEntity<ProjectImport> {
    /**
     * 创建人id
     */
    private Integer createBy;
    /**
     * 创建人名称
     */
    @TableField(exist = false)
    private String createName;

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

    /**
     * 状态
     */
    private Long fileSize;

    /**
     *
     */
    private String url;

    /**
     *
     */
    private String fileName;

    /**
     *
     */
    private String oldName;
    @TableField(value = "tenant_id")
    private Integer tenantId;

}