2017-07-26 20:20:14 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace db_AI_4
|
|
|
|
|
{
|
|
|
|
|
public class GetRents
|
|
|
|
|
{
|
|
|
|
|
public int rent_id { get; set; }
|
|
|
|
|
public string rent_date { get; set; }
|
|
|
|
|
public string payment_date { get; set; }
|
|
|
|
|
public int member_id { get; set; }
|
2017-08-27 09:43:05 +02:00
|
|
|
|
public string email_address { get; set; }
|
2017-07-26 20:20:14 +02:00
|
|
|
|
public int rent_price_id { get; set; }
|
2017-08-27 09:43:05 +02:00
|
|
|
|
public int rent_price { get; set; }
|
2017-07-26 20:20:14 +02:00
|
|
|
|
|
2017-08-02 22:36:24 +02:00
|
|
|
|
public int location_id { get; set; }
|
|
|
|
|
public string streetname { get; set; }
|
|
|
|
|
public int location_capacity { get; set; }
|
|
|
|
|
public string location_name { get; set; }
|
2017-07-26 20:20:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-27 14:23:02 +02:00
|
|
|
|
// Not in use until we want to read that data out
|
2017-07-26 20:20:14 +02:00
|
|
|
|
public string RentInfo
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2017-08-27 09:43:05 +02:00
|
|
|
|
return $"{location_name} {location_capacity} {rent_price} { rent_date } {email_address} ";
|
2017-07-26 20:20:14 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|