27 lines
634 B
C#
27 lines
634 B
C#
using CarRentDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarRentContracts.BindingModels
|
|
{
|
|
public class RentalBindingModel : IRentalModel
|
|
{
|
|
public DateTime StartDate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
|
|
|
public DateTime? EndDate { get; set; }
|
|
|
|
public double RentalCost { get; set; }
|
|
|
|
public string? ReviewText { get; set; } = string.Empty;
|
|
|
|
public int? ReviewRating { get; set; }
|
|
public int ClientId { get; set; }
|
|
public int CarId { get; set; }
|
|
|
|
public int Id { get; set; }
|
|
}
|
|
}
|