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 com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
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;

    @ApiModelProperty("附件路径")
    private String fileUrl;

    @TableField(exist = false)
    @ApiModelProperty("业务名称")
    private String busiName;

    @ApiModelProperty("附件名称")
    private String attachmentName;

    @ApiModelProperty("0.计划 1.问题 2.全过程")
    private Integer type;

    @ApiModelProperty("附件分类")
    private String attachmentType;

    @ApiModelProperty("业务id")
    private String busiId;

    @ApiModelProperty("上传人")
    private String uploaderName;

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

    @ApiModelProperty("上传人id")
    private String uploaderId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("0.未上送 1.已上送 2.取消上送")
    @TableField("is_upload_head")
    private Integer isUploadHead;
}
