27 lines
679 B
C#
27 lines
679 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 CarBindingModel : ICarModel
|
|||
|
{
|
|||
|
public string Brand { get; set; } = string.Empty;
|
|||
|
|
|||
|
public string Model { get; set; } = string.Empty;
|
|||
|
|
|||
|
public DateTime YearOfManuf { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
|||
|
|
|||
|
public string Color { get; set; } = string.Empty;
|
|||
|
|
|||
|
public string LicensePlate { get; set; } = string.Empty;
|
|||
|
|
|||
|
public double RentalCostPerHour { get; set; }
|
|||
|
public int BranchId { get; set; }
|
|||
|
public int Id { get; set; }
|
|||
|
}
|
|||
|
}
|