db_AI-4/csharp/db_AI-4/GetLocations.cs

27 lines
606 B
C#
Raw Normal View History

2017-07-26 18:18:37 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace db_AI_4
{
public class GetLocations
{
public int location_id { get; set; }
public string streetname { get; set; }
public int location_capacity { get; set; }
public string location_name { get; set; }
2017-08-30 19:55:25 +02:00
public int rent_price_id { get; set; }
2017-07-26 18:18:37 +02:00
public string LocationInfo
{
get
{
return $"{ streetname } { location_capacity } {location_name} ";
}
}
}
}