wjc
2023-07-07 22494af577e21a930abef309f2f60c03c9615bd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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;
        }
    }
}