package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *
 * </p>
 *
 * @author hongawen
 * @since 2023-06-21
 */
@Data
@TableName("supv_file")
public class SupvFile {

    private static final long serialVersionUID = 1L;

    @TableId
    private String uuid;
    /**
     * 所属网省id
     */
    @TableField(exist = false)
    private String provinceId;

    /**
     * 附件路径
     */
    private String fileUrl;

    @TableField(exist = false)
    private MultipartFile file;

    /**
     * 附件名称
     */
    private String attachmentName;

    /**
     * 0.计划 1.问题
     */
    private Integer type;


    private String attachmentType;

    /**
     * 计划问题id
     */
    private String busiId;

    private String uploaderName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;

    private String uploaderId;


}
