source: Application/Models/DatabaseModels/DeliveryMan.cs

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

Initial commit

  • Property mode set to 100644
File size: 649 bytes
RevLine 
[f5f7c24]1using System;
2using System.Collections.Generic;
3
4namespace ocrent;
5
6public partial class DeliveryMan
7{
8 public int UserId { get; set; }
9
10 public int? BusinessUserId { get; set; }
11
12 public int? CompanyId { get; set; }
13
14 public decimal? Salary { get; set; }
15
16 public DateOnly DateOfEmployment { get; set; }
17
18 public virtual User? BusinessUser { get; set; }
19
20 public virtual Company? Company { get; set; }
21
22 public virtual ICollection<Contract> Contracts { get; } = new List<Contract>();
23
24 public virtual User User { get; set; } = null!;
25
26 public virtual ICollection<Vehicle> Vehicles { get; } = new List<Vehicle>();
27}
Note: See TracBrowser for help on using the repository browser.