oop_NFS_Andreas/Plattform/Plattform/Models/RoomType.cs

26 lines
613 B
C#
Raw Normal View History

2018-08-19 14:31:58 +02:00
using System.Runtime.Serialization;
namespace Plattform.Models
{
[DataContract]
public class RoomType
{
[DataMember]
public int RoomTypeID { get; set; }
[DataMember]
public string Name { get; set; }
2018-08-21 22:26:29 +02:00
[DataMember]
public int Capacity { get; set; }
[DataMember]
public string Inventory { get; set; }
2018-08-19 14:31:58 +02:00
public RoomType() { }
2018-08-21 22:26:29 +02:00
public RoomType(string name, int capacity, string inventory)
2018-08-19 14:31:58 +02:00
{
this.Name = name;
2018-08-21 22:26:29 +02:00
this.Capacity = capacity;
this.Inventory = inventory;
2018-08-19 14:31:58 +02:00
}
}
}