package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;

@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class UploadFilesRequest {
    /**
     * 文件上传ID
     */
    @Id
    private Long id;

    /**
     * 文件名称
     */
    @Column(name = "file_name")
    private String fileName;

    /**
     * 文件路径
     */
    @Column(name = "file_path")
    private String filePath;

    /**
     * 原单据ID
     */
    @Column(name = "doc_id")
    private Long docId;

    /**
     * 原单据号
     */
    @Column(name = "doc_num")
    private String docNum;

    /**
     * 原单据类别
     */
    @Column(name = "doc_type")
    private String docType;
}
