hxb
2024-10-24 d723fee177238df0dbab80eb788876ebd154927d
HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/template/bean/TemplateRoomPackBean.java
New file
@@ -0,0 +1,89 @@
package com.hdl.linkpm.sdk.template.bean;
/*
 *create by wxr
 *date 2022/2/10
 */
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class TemplateRoomPackBean implements Serializable {
    private String templateExtendsId;//   模板id   string
    //区域集合
    private List<TemplateRoomInfoBean> roomInfos = new ArrayList<>();
    public String getTemplateExtendsId() {
        return templateExtendsId == null ? "" : templateExtendsId;
    }
    public void setTemplateExtendsId(String templateExtendsId) {
        this.templateExtendsId = templateExtendsId;
    }
    public List<TemplateRoomInfoBean> getRoomInfos() {
        if (roomInfos == null) {
            return new ArrayList<>();
        }
        return roomInfos;
    }
    public void setRoomInfos(List<TemplateRoomInfoBean> roomInfos) {
        this.roomInfos = roomInfos;
    }
    public static class TemplateRoomInfoBean implements Serializable{
//        -- name   模板房间名称   true   string
        private String name;
//        -- roomImage   模板房间图片   false   string
        private String roomImage;
//        -- uid   房间唯一标识   true   string
        private String uid;
//        -- roomType   房间类型 [ROOM,FLOOR]   true   string
        private String roomType;
//        -- parentId   楼层id   false   string
        private String parentId;
        public String getName() {
            return name == null ? "" : name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public String getRoomImage() {
            return roomImage == null ? "" : roomImage;
        }
        public void setRoomImage(String roomImage) {
            this.roomImage = roomImage;
        }
        public String getUid() {
            return uid == null ? "" : uid;
        }
        public void setUid(String uid) {
            this.uid = uid;
        }
        public String getRoomType() {
            return roomType == null ? "" : roomType;
        }
        public void setRoomType(String roomType) {
            this.roomType = roomType;
        }
        public String getParentId() {
            return parentId == null ? "" : parentId;
        }
        public void setParentId(String parentId) {
            this.parentId = parentId;
        }
    }
}