autobus-api_old/AutobusApi.Domain/Entities/Review.cs
2023-11-02 07:56:12 +02:00

21 lines
486 B
C#

using AutobusApi.Domain.Common;
namespace AutobusApi.Domain.Entities;
public class Review : EntityBase
{
public required int Rating { get; set; }
public required string? Comment { get; set; }
public required DateTime PostDateTimeUtc { get; set; }
public required int UserId { get; set; }
public User User { get; set; } = null!;
public required int VehicleEnrollmentId { get; set; }
public VehicleEnrollment VehicleEnrollment { get; set; } = null!;
}