source: Application/Models/DatabaseModels/Vehicle.cs@ f5f7c24

Last change on this file since f5f7c24 was f5f7c24, checked in by 192011 <mk.snicker@…>, 17 months ago

Initial commit

  • Property mode set to 100644
File size: 910 bytes
RevLine 
[f5f7c24]1using System;
2using System.Collections.Generic;
3
4namespace ocrent;
5
6public partial class Vehicle
7{
8 public int VehicleId { get; set; }
9
10 public string ChassisNumber { get; set; } = null!;
11
12 public string VehicleType { get; set; } = null!;
13
14 public string FuelEfficiency { get; set; } = null!;
15
16 public string Brand { get; set; } = null!;
17
18 public decimal DailyRentalPrice { get; set; }
19
20 public int? CompanyId { get; set; }
21
22 public int? ModelId { get; set; }
23
24 public int? LocationId { get; set; }
25
26 public int? RegistrationId { get; set; }
27
28 public virtual ICollection<Contract> Contracts { get; } = new List<Contract>();
29
30 public virtual Location? Location { get; set; }
31
32 public virtual Model? Model { get; set; }
33
34 public virtual Registration? Registration { get; set; }
35
36 public virtual ICollection<DeliveryMan> Users { get; } = new List<DeliveryMan>();
37}
Note: See TracBrowser for help on using the repository browser.