public Room(MapObjectType mapObjectType, MapObjectDepartment department, long buildingId, int floor, String description = "") : base(mapObjectType.TypeOfMapObject, description) { Department = department; Floor = floor; BuildingId = buildingId; FormatObjectDescription(Description); }
public MapObjectEntity(TypeOfMapObject mapObjectType, string description = "") : base() { MapObjectType = new MapObjectType(mapObjectType); Description = description; }