main
|
Last change
on this file since 08aefc6 was 08aefc6, checked in by mmilevski <markomilevski3@…>, 4 weeks ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
596 bytes
|
| Line | |
|---|
| 1 | namespace KernelRecordsMVC.Models;
|
|---|
| 2 |
|
|---|
| 3 | public class User
|
|---|
| 4 | {
|
|---|
| 5 | public long UserId { get; set; }
|
|---|
| 6 |
|
|---|
| 7 | public string Email { get; set; } = null!;
|
|---|
| 8 |
|
|---|
| 9 | public string Username { get; set; } = null!;
|
|---|
| 10 |
|
|---|
| 11 | public string Password { get; set; } = null!;
|
|---|
| 12 |
|
|---|
| 13 | public DateTime DateCreated { get; set; }
|
|---|
| 14 |
|
|---|
| 15 | public string? ShippingAddress { get; set; }
|
|---|
| 16 |
|
|---|
| 17 | public string? TelephoneNumber { get; set; }
|
|---|
| 18 |
|
|---|
| 19 | public Admin? Admin { get; set; }
|
|---|
| 20 |
|
|---|
| 21 | public Consumer? Consumer { get; set; }
|
|---|
| 22 |
|
|---|
| 23 | public ICollection<Order> Orders { get; set; } = new List<Order>();
|
|---|
| 24 |
|
|---|
| 25 | public Wishlist? Wishlist { get; set; }
|
|---|
| 26 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.