package com.njcn.cssystem.pojo.vo;

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

import java.io.Serializable;
import java.util.List;

/**
 * @author xy
 */
@Data
public class WlUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工程集合")
    private List<EngineeringVo> engineeringList;

    @ApiModelProperty(value = "便携式设备集合")
    private List<portableDevVo> portableDevList;


    @Data
    public static class EngineeringVo implements Serializable{

        @ApiModelProperty(value = "工程id")
        private String id;

        @ApiModelProperty(value = "工程名称")
        private String name;

        @ApiModelProperty(value = "设备集合")
        private List<portableDevVo> devList;

    }

    @Data
    public static class portableDevVo implements Serializable{

        @ApiModelProperty(value = "设备id")
        private String id;

        @ApiModelProperty(value = "设备名称")
        private String name;
    }
}