11 lines
247 B
C#
11 lines
247 B
C#
namespace AutobusApi.Domain.Entities;
|
|
|
|
public class Train : Vehicle
|
|
{
|
|
public Vehicle Vehicle { get; set; } = null!;
|
|
|
|
public required string Number { get; set; }
|
|
|
|
public ICollection<TrainCarriage> TrainCarriage { get; set; } = null!;
|
|
}
|