Merge branch 'main' of https://github.com/annie-prog/rent-a-car
This commit is contained in:
@@ -12,9 +12,11 @@ namespace Data.Entities
|
||||
public class Rents
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[ForeignKey("CarId")]
|
||||
public Car Car { get; set; }
|
||||
|
||||
[Required]
|
||||
public DateTime StartDate { get; set; }
|
||||
[Required]
|
||||
|
||||
Reference in New Issue
Block a user