package top.tqx.demo_1.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "文件上传请求")
public class FileUploadRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "部门ID（管理员上传制度文件时指定）")
    private Long deptId;

    @Schema(description = "是否公开：true-公开，false-私密", example = "true")
    private Boolean isPublic;

    @Schema(description = "文件分类：rule-制度文件，personal-个人文件", example = "personal")
    private String fileCategory;

    @Schema(description = "文件描述")
    private String description;
}
