package com.microservices.pms.document.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 项目管理-文档库对象 pms_document
 * 
 * @author wanjia
 * @date 2024-01-08
 */
@Data
@ApiModel("文件类型文档输入对象")
public class PmsFileTypeDocumentInputVo
{

    /** 文档名称 */
    @ApiModelProperty(value = "文档名称", required = true)
    @NotNull
    private String[] names;

    /**3-附件 */
    @ApiModelProperty(value = "3-附件", hidden = true)
    private Integer docType = 3;

    /** 父级id */
    @ApiModelProperty(value = "父级id", required = true)
    private Long parentId;

    /** 项目ID */
    @ApiModelProperty(value = "项目ID")
    private Long pmsProjectId = 0L;

    /** 企业ID */
    @ApiModelProperty(value = "企业ID", required = true)
    @NotNull
    private Long pmsEnterpriseId;

    /** 附件标识 */
    @ApiModelProperty(value = "附件标识", required = true)
    @NotNull
    private String[] attachmentIdentifiers;

    /** 权限 1-私有 2-全员读 3-全员读写 */
    @ApiModelProperty(value = "权限 1-私有 2-全员读 3-全员读写", required = true)
    @NotNull
    private Integer permission;
}
