Mostly working create rent. Awaiting migration
This commit is contained in:
1 parent
91e835f63d
commit
c04ffc5020
3 files changed
+27
-34
No files matched your search
@@ -12,22 +12,12 @@ namespace Data.Entities
|
||||
[Required]
|
||||
[Key]
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user