package com.ruoyi.ibs.draw.domain.dto.draw;

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

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Author 吴凯程
 * @Date 2024/12/20
 **/
@Data
@Valid
public class LayerEditInfoDTO {

    @ApiModelProperty(name = "layerId", value = "图层id")
    @NotNull(message = "图层id不能为空")
    private Long layerId;

    @ApiModelProperty(name = "layerName", value = "图层名称")
    @NotNull(message = "图层名称不能为空")
    private String layerName;

    @ApiModelProperty(name = "layerColor", value = "图层颜色")
    @NotNull(message = "图层颜色不能为空")
    private String layerColor;

}
