package com.njcn.csharmonic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/6/14 20:07
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ZuTaiNewDTO {

    private List<DiagramElement> json;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DiagramElement{

        private String id;
        private String title;
        private String keyId;
        private String type;
        private boolean resize;
        private boolean rotate;
        private boolean lock;
        private boolean active;
        private boolean hide;
        private String tag;
        private boolean use_proportional_scaling;
        private String lineId;
        private List<String> lineList;
        private String lineName;
        @JsonProperty("UID")
        private List<Object> uid;
        @JsonProperty("UIDNames")

        private List<String> uidNames;
        private List<String> unit;

        private Boolean uidType;

    }

}
