Completed cars

This commit is contained in:
ani_konarcheva@abv.bg
2022-04-06 19:27:11 +03:00
parent 1dc0aa3682
commit 6f246bff8b
5 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -10,16 +11,21 @@ namespace Data.Entities
{
public int Id { get; set; }
[Required]
public string Brand { get; set; }
[Required]
public string Model { get; set; }
[Required]
public int Year { get; set; }
[Required]
public int CountPassengerSeats { get; set; }
public string Description { get; set; }
[Required]
public decimal PriceForDay { get; set; }
}
}