using System.Collections.Generic;

namespace BUSNOW.Models
{
    public class Line
    {
        public int Id { get; set; }
        public string Title { get; set; } = string.Empty;
        public int DriverId { get; set; }
        public int SupervisorId { get; set; }
        public string PlateNumber {get;set;} = string.Empty;
        public string DriverName {get;set;} = string.Empty;
        // Relationships
        public ICollection<Passenger> Passengers { get; set; } = new List<Passenger>();
        public ICollection<Stop> Stops { get; set; } = new List<Stop>();
        
    }
}
