package com.hdkj.lt.modle.dto.file;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author wcx
 * @Date 2025/5/15 18:23
 * @Version 1.0
 */
@ApiModel(value = "负荷转供配电成图文件关联参数")
@Data
public class DistMappingFileDTO {

    /**
     * 配电馈线线路ID
     */
    @ApiModelProperty(value = "配电馈线线路ID")
    @NotBlank(message = "配电馈线线路ID不能为空")
    private String lineId;

    /**
     * 附件ID
     */
    @ApiModelProperty(value = "附件ID")
    @NotNull(message = "附件ID不能为空")
    private Long fileId;

    /**
     * 附件类型(1:单线SVG图,2:单线图XML,3:开关段图,4:一级联络图,5:运行调优图)
     */
    @ApiModelProperty(value = "附件类型(1:单线SVG图,2:单线图XML,3:开关段图,4:一级联络图,5:运行调优图)")
    @NotBlank(message = "附件类型不能为空")
    private String fileType;
}
