package cn.iocoder.yudao.module.pms.controller.admin.qhse.file.vo;

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - QHSE文件树新增/修改 Request VO")
@Data
public class QhseFileTreeSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22972")
    private Long id;

    @Schema(description = "原id", example = "8327")
    private Long originId;

    @Schema(description = "父分类id", example = "16668")
    private Long parentId;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分类名称不能为空")
    private String name;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @Schema(description = "分类排序")
    private Integer sort;

    @Schema(description = "开启状态", example = "2")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "设备id", example = "4356")
    private Integer deptId;

    @Schema(description = "设备编码")
    private String deviceCode;

    @Schema(description = "部门名称", example = "赵六")
    private String deptName;

}