source: KernelRecordsMVC.Application/ViewModels/CartItemViewModel.cs@ d2eccb3

main
Last change on this file since d2eccb3 was d2eccb3, checked in by mmilevski <markomilevski3@…>, 4 weeks ago

Minor fixes.

  • Property mode set to 100644
File size: 495 bytes
Line 
1namespace KernelRecordsMVC.Application.ViewModels;
2
3public class CartItemViewModel
4{
5 public long ProductId { get; set; }
6
7 public long ReleaseId { get; set; }
8
9 public string ReleaseTitle { get; set; } = null!;
10
11 public string Format { get; set; } = null!;
12
13 public decimal Price { get; set; }
14
15 public long Quantity { get; set; }
16
17 public long Stock { get; set; }
18
19 public string? CoverPhoto { get; set; }
20
21 public decimal Total =>
22 Price * Quantity;
23}
Note: See TracBrowser for help on using the repository browser.