26 lines
613 B
C#
26 lines
613 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace Plattform.Models
|
|
{
|
|
[DataContract]
|
|
public class RoomType
|
|
{
|
|
[DataMember]
|
|
public int RoomTypeID { get; set; }
|
|
[DataMember]
|
|
public string Name { get; set; }
|
|
[DataMember]
|
|
public int Capacity { get; set; }
|
|
[DataMember]
|
|
public string Inventory { get; set; }
|
|
|
|
public RoomType() { }
|
|
public RoomType(string name, int capacity, string inventory)
|
|
{
|
|
this.Name = name;
|
|
this.Capacity = capacity;
|
|
this.Inventory = inventory;
|
|
}
|
|
}
|
|
}
|