20 lines
395 B
C#
20 lines
395 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace Plattform.Models
|
|
{
|
|
[DataContract]
|
|
public class Airline
|
|
{
|
|
[DataMember]
|
|
public int AirlineID { get; set; }
|
|
[DataMember]
|
|
public string Name { get; set; }
|
|
|
|
public Airline(){ }
|
|
public Airline(AirlineService.Airline airline)
|
|
{
|
|
this.Name = airline.Name;
|
|
}
|
|
}
|
|
}
|