autobus-api_old/AutobusApi.Domain/Entities/Carriage.cs
2023-11-15 18:57:51 +02:00

20 lines
418 B
C#

using AutobusApi.Domain.Common;
using AutobusApi.Domain.Enums;
namespace AutobusApi.Domain.Entities;
public class Carriage : EntityBase
{
public CarriageType Type { get; set; }
public int Capacity { get; set; }
public int Number { get; set; }
public bool HasWiFi { get; set; }
public bool HasOutlets { get; set; }
public ICollection<TrainCarriage> TrainCarriage { get; set; } = null!;
}