| | |
| | | |
| | | public string roomId = ""; |
| | | public string roomName = ""; |
| | | public string roomImage = ""; |
| | | //public string roomImage = ""; |
| | | public string roomImage = "Classification/Room/Roombg.png"; |
| | | public string roomType = ""; |
| | | public string parentId = ""; |
| | | public string uid = Guid.NewGuid().ToString(); |
| | |
| | | roomType = "ROOM"; |
| | | roomName = "Room"; |
| | | } |
| | | public string backgroundImage = "Classification/Room/Roombg.png"; |
| | | //public string backgroundImage = "Classification/Room/Roombg.png"; |
| | | public string backgroundImage |
| | | { |
| | | get |
| | | { |
| | | if (string.IsNullOrEmpty(roomImage)) |
| | | { |
| | | return "Classification/Room/Roombg.png"; |
| | | } |
| | | else |
| | | { |
| | | return roomImage; |
| | | } |
| | | } |
| | | set |
| | | { |
| | | roomImage = value; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 楼层 |