main
|
Last change
on this file was 08aefc6, checked in by mmilevski <markomilevski3@…>, 4 weeks ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
754 bytes
|
| Line | |
|---|
| 1 | using KernelRecordsMVC.Domain.Enums;
|
|---|
| 2 |
|
|---|
| 3 | namespace KernelRecordsMVC.Models;
|
|---|
| 4 |
|
|---|
| 5 | public class Product
|
|---|
| 6 | {
|
|---|
| 7 | public long ProductId { get; set; }
|
|---|
| 8 |
|
|---|
| 9 | public long ReleaseId { get; set; }
|
|---|
| 10 |
|
|---|
| 11 | public ProductFormat Format { get; set; }
|
|---|
| 12 |
|
|---|
| 13 | public decimal Price { get; set; }
|
|---|
| 14 |
|
|---|
| 15 | public string ProductDescription { get; set; } = null!;
|
|---|
| 16 |
|
|---|
| 17 | public long Stock { get; set; }
|
|---|
| 18 |
|
|---|
| 19 | public Release Release { get; set; } = null!;
|
|---|
| 20 |
|
|---|
| 21 | public ICollection<OrderProduct> OrderProducts { get; set; }
|
|---|
| 22 | = new List<OrderProduct>();
|
|---|
| 23 |
|
|---|
| 24 | public ICollection<WishlistProduct> WishlistProducts { get; set; }
|
|---|
| 25 | = new List<WishlistProduct>();
|
|---|
| 26 |
|
|---|
| 27 | public ICollection<ModificationProduct> ModificationProducts { get; set; }
|
|---|
| 28 | = new List<ModificationProduct>();
|
|---|
| 29 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.