package jnpf.model.doclibrary.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 上传dto
 *
 * @author yanwenfu
 * @create 2023-07-25
 */
@Getter
@Setter
public class UploadDto {

    /** 父级id */
    @NotEmpty(message = "父id不能为空")
    private String pid;

    /** 文件类型(文档, 表格, PPT) */
    @NotEmpty(message = "请选择文件类型")
    private String fileType;
}
