Commit 2ab9dcf9 authored by Alexander Scharfenberg's avatar Alexander Scharfenberg
Browse files

classes, db and images

parent 31e39992
namespace Raumverwaltung_HMWK
{
public class Asset
{
private int id;
private string name;
private int roomId;
public Asset()
{
}
public Asset(string name)
{
this.name = name;
}
public int Id
{
get { return id; }
set { id = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
public int RoomId
{
get { return roomId; }
set { roomId = value; }
}
}
}
\ No newline at end of file
namespace Raumverwaltung_HMWK
{
public class Building
{
private int id;
private string name;
public Building()
{
}
public Building(string name)
{
this.name = name;
}
public int Id
{
get { return id; }
set { id = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
}
}
\ No newline at end of file
namespace Raumverwaltung_HMWK
{
public class Floor
{
private int id;
private string name;
private string image;
private int buildingId;
public Floor()
{
}
public Floor(string name)
{
this.name = name;
}
public int Id
{
get { return id; }
set { id = value; }
}
public string Name
{
get { return name; }
set { name = value; }
}
public string Image
{
get { return image; }
set { image = value; }
}
public int BuildingId
{
get { return buildingId; }
set { buildingId = value; }
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment