using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ReallifeGamemode.Database.Entities
{
  public partial class BusRoute
  {
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public string Description { get; set; }

    public List<BusRoutePoint> RoutePoints { get; set; }
  }

  public partial class BusRoutePoint
  {
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public string Description { get; set; }

    public float X { get; set; }

    public float Y { get; set; }

    public float Z { get; set; }

    [ForeignKey("BusRouteId")]
    public int? BusRouteId { get; set; }

    public BusRoute BusRoute { get; set; }
  }
}
