Lazy Loading fix, new migration, Rents Index data
This commit is contained in:
@@ -11,13 +11,15 @@ namespace Data.Entities
|
||||
{
|
||||
[Required]
|
||||
[Key]
|
||||
[Display(Name = "Car ID")]
|
||||
public int Id { get; set; }
|
||||
public string Brand { get; set; }
|
||||
public string Model { get; set; }
|
||||
public int Year { get; set; }
|
||||
[Display(Name = "Seats")]
|
||||
public int CountPassengerSeats { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
[Display(Name = "Daily price")]
|
||||
public decimal PriceForDay { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user