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

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.ibs.draw.domain.entity.DrawLayer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 吴凯程
 * @Date 2024/12/20
 **/
@Data
@NoArgsConstructor
public class DrawLayerVO {
    /**
     * 主键
     */
    @ApiModelProperty(value = "图层主键", name = "id")
    private Long layerId;
    /**
     * 图层类型
     */
    @ApiModelProperty(value = "图层类型", notes = "")
    private String layerName;
    /**
     * 图层颜色
     */
    @ApiModelProperty(value = "图层颜色", notes = "")
    private String layerColor;

    @ApiModelProperty(value = "是否禁用", notes = "")
    private Boolean disabled;

    public DrawLayerVO(DrawLayer drawLayer) {
        BeanUtils.copyProperties(drawLayer, this);
    }
}
