Ignore:
Timestamp:
09/01/26 06:13:32 (4 weeks ago)
Author:
mmilevski <markomilevski3@…>
Branches:
main
Children:
d89d25b
Parents:
fa0fbaf
Message:

Minor fixes.

Location:
KernelRecordsMVC.Application
Files:
2 added
26 edited

Legend:

Unmodified
Added
Removed
  • KernelRecordsMVC.Application/ViewModels/CartItemViewModel.cs

    rfa0fbaf rd2eccb3  
    1616
    1717    public long Stock { get; set; }
     18   
     19    public string? CoverPhoto { get; set; }
    1820
    1921    public decimal Total =>
  • KernelRecordsMVC.Application/ViewModels/CreateReleaseViewModel.cs

    rfa0fbaf rd2eccb3  
    1 namespace KernelRecordsMVC.Application.ViewModels;
     1using System.ComponentModel.DataAnnotations;
     2
     3namespace KernelRecordsMVC.Application.ViewModels;
    24
    35public class CreateReleaseViewModel
    46{
    5    
     7    // ==========================================
     8    // RELEASE
     9    // ==========================================
     10
     11    [Required]
     12    [StringLength(200)]
     13    public string Title { get; set; } = string.Empty;
     14
     15
     16    [Display(Name = "Record Label")]
     17    [StringLength(200)]
     18    public string? RecordLabel { get; set; }
     19
     20
     21    [Required]
     22    [StringLength(100)]
     23    public string Genre { get; set; } = string.Empty;
     24
     25
     26    [Required]
     27    [Display(Name = "Release Date")]
     28    [DataType(DataType.Date)]
     29    public DateTime ReleaseDate { get; set; } = DateTime.Today;
     30
     31
     32    [Required]
     33    [Display(Name = "Cover Photo")]
     34    public string CoverPhoto { get; set; } = string.Empty;
     35
     36
     37    // ALBUM or SINGLE
     38    [Required]
     39    [Display(Name = "Release Type")]
     40    public string ReleaseType { get; set; } = "ALBUM";
     41
     42
     43    // ==========================================
     44    // ARTISTS
     45    // ==========================================
     46
     47    [Required]
     48    [Display(Name = "Main Artist")]
     49    public long MainArtistId { get; set; }
     50
     51
     52    [Display(Name = "Featured Artists")]
     53    public List<long> FeaturedArtistIds { get; set; } = new();
     54
     55
     56    // ==========================================
     57    // SINGLE
     58    // ==========================================
     59
     60    [Display(Name = "Single Duration")]
     61    public string? SingleDuration { get; set; }
     62
     63
     64    // ==========================================
     65    // ALBUM
     66    // ==========================================
     67
     68    public List<CreateTrackViewModel> Tracks { get; set; } = new();
    669}
  • KernelRecordsMVC.Application/ViewModels/CreateTrackViewModel.cs

    rfa0fbaf rd2eccb3  
    1 namespace KernelRecordsMVC.Application.ViewModels;
     1using System.ComponentModel.DataAnnotations;
     2
     3namespace KernelRecordsMVC.Application.ViewModels;
    24
    35public class CreateTrackViewModel
    46{
    5    
     7    [Required]
     8    [Display(Name = "Track Name")]
     9    public string SongName { get; set; } = string.Empty;
     10
     11
     12    [Required]
     13    [Display(Name = "Duration")]
     14    public string SongDuration { get; set; } = string.Empty;
     15
     16
     17    [Display(Name = "Track Artists")]
     18    public List<long> ArtistIds { get; set; } = new();
    619}
  • KernelRecordsMVC.Application/ViewModels/EditProductViewModel.cs

    rfa0fbaf rd2eccb3  
    1 namespace KernelRecordsMVC.Application.ViewModels;
    2 
    3 using System.ComponentModel.DataAnnotations;
     1using System.ComponentModel.DataAnnotations;
    42using KernelRecordsMVC.Domain.Enums;
    5 
     3namespace KernelRecordsMVC.Application.ViewModels;
    64
    75public class EditProductViewModel
  • KernelRecordsMVC.Application/ViewModels/ProfileViewModel.cs

    rfa0fbaf rd2eccb3  
    1 namespace KernelRecordsMVC.Application.ViewModels;
     1using System.ComponentModel.DataAnnotations;
     2
     3namespace KernelRecordsMVC.Application.ViewModels;
    24
    35public class ProfileViewModel
    46{
    5    
     7    public long UserId { get; set; }
     8
     9    public string Username { get; set; } = null!;
     10
     11    [Required]
     12    [EmailAddress]
     13    public string Email { get; set; } = null!;
     14
     15    [Phone]
     16    public string? TelephoneNumber { get; set; }
     17
     18    public string? ShippingAddress { get; set; }
     19
     20    public DateTime DateCreated { get; set; }
     21
     22    public long PointsCollected { get; set; }
    623}
  • KernelRecordsMVC.Application/ViewModels/SaleItemViewModel.cs

    rfa0fbaf rd2eccb3  
    33public class SaleItemViewModel
    44{
    5    
     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? CoverPhoto { get; set; }
     12
     13    public string Format { get; set; } = null!;
     14
     15    public decimal OriginalPrice { get; set; }
     16
     17    public decimal SalePrice { get; set; }
     18
     19    public decimal DiscountPercentage { get; set; }
     20
     21    public long Stock { get; set; }
     22
     23    public string ArtistName { get; set; } = null!;
    624}
  • KernelRecordsMVC.Application/obj/Debug/net8.0/KernelRecordsMVC.Application.AssemblyInfo.cs

    rfa0fbaf rd2eccb3  
    1414[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
    1515[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
    16 [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
     16[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+08aefc6f3b51f4bfcb7471a2fd319c064171b1c5")]
    1717[assembly: System.Reflection.AssemblyProductAttribute("KernelRecordsMVC.Application")]
    1818[assembly: System.Reflection.AssemblyTitleAttribute("KernelRecordsMVC.Application")]
  • KernelRecordsMVC.Application/obj/Debug/net8.0/KernelRecordsMVC.Application.AssemblyInfoInputs.cache

    rfa0fbaf rd2eccb3  
    1 e1328abe16b4d3d6b149631015b22e09c79c757f8e83e00fec1bda3b4266d18b
     1be6a89e2db3aa8112c2a3ae4c32c04b7e8b25d03049e0dfebf9780211ea8ddb1
  • KernelRecordsMVC.Application/obj/Debug/net8.0/KernelRecordsMVC.Application.csproj.CoreCompileInputs.cache

    rfa0fbaf rd2eccb3  
    1 7be670584cff69f4c3781a6b17dc489406673780bfe6603fbced09fe0987e3b0
     19f4ef03cf908860b9dd6d42a9604d053d9bc8564dfa0df3b05a4e677034a8ff2
  • KernelRecordsMVC.Application/obj/Debug/net8.0/KernelRecordsMVC.Application.csproj.FileListAbsolute.txt

    rfa0fbaf rd2eccb3  
    99C:\Users\Marko\RiderProjects\KernelRecordsMVC\KernelRecordsMVC.Application\obj\Debug\net8.0\KernelRecordsMVC.Application.AssemblyInfo.cs
    1010C:\Users\Marko\RiderProjects\KernelRecordsMVC\KernelRecordsMVC.Application\obj\Debug\net8.0\KernelRecordsMVC.Application.csproj.CoreCompileInputs.cache
     11C:\Users\Marko\RiderProjects\KernelRecordsMVC\KernelRecordsMVC.Application\obj\Debug\net8.0\KernelRecordsMVC.Application.sourcelink.json
    1112C:\Users\Marko\RiderProjects\KernelRecordsMVC\KernelRecordsMVC.Application\obj\Debug\net8.0\KernelRe.C07FDBC1.Up2Date
    1213C:\Users\Marko\RiderProjects\KernelRecordsMVC\KernelRecordsMVC.Application\obj\Debug\net8.0\KernelRecordsMVC.Application.dll
  • KernelRecordsMVC.Application/obj/KernelRecordsMVC.Application.csproj.nuget.dgspec.json

    rfa0fbaf rd2eccb3  
    6969            }
    7070          },
    71           "runtimeIdentifierGraphPath": "C:\\Users\\Marko\\.dotnet\\sdk\\8.0.422/PortableRuntimeIdentifierGraph.json"
     71          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.424/PortableRuntimeIdentifierGraph.json"
    7272        }
    7373      }
    … …  
    133133            }
    134134          },
    135           "runtimeIdentifierGraphPath": "C:\\Users\\Marko\\.dotnet\\sdk\\8.0.422/PortableRuntimeIdentifierGraph.json"
     135          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.424/PortableRuntimeIdentifierGraph.json"
    136136        }
    137137      }
  • KernelRecordsMVC.Application/obj/KernelRecordsMVC.Application.csproj.nuget.g.props

    rfa0fbaf rd2eccb3  
    88    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Marko\.nuget\packages\</NuGetPackageFolders>
    99    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
    10     <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
     10    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.2</NuGetToolVersion>
    1111  </PropertyGroup>
    1212  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
  • KernelRecordsMVC.Application/obj/project.assets.json

    rfa0fbaf rd2eccb3  
    644644          }
    645645        },
    646         "runtimeIdentifierGraphPath": "C:\\Users\\Marko\\.dotnet\\sdk\\8.0.422/PortableRuntimeIdentifierGraph.json"
     646        "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.424/PortableRuntimeIdentifierGraph.json"
    647647      }
    648648    }
  • KernelRecordsMVC.Application/obj/project.nuget.cache

    rfa0fbaf rd2eccb3  
    11{
    22  "version": 2,
    3   "dgSpecHash": "2ClWmI1jUi8=",
     3  "dgSpecHash": "5BQiffvyB0E=",
    44  "success": true,
    55  "projectFilePath": "C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\KernelRecordsMVC.Application.csproj",
  • KernelRecordsMVC.Application/obj/project.packagespec.json

    rfa0fbaf rd2eccb3  
    1 "restore":{"projectUniqueName":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\KernelRecordsMVC.Application.csproj","projectName":"KernelRecordsMVC.Application","projectPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\KernelRecordsMVC.Application.csproj","packagesPath":"","outputPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Domain\\KernelRecordsMVC.Domain.csproj":{"projectPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Domain\\KernelRecordsMVC.Domain.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Microsoft.EntityFrameworkCore":{"target":"Package","version":"[8.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Users\\Marko\\.dotnet\\sdk\\8.0.422/PortableRuntimeIdentifierGraph.json"}}
     1"restore":{"projectUniqueName":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\KernelRecordsMVC.Application.csproj","projectName":"KernelRecordsMVC.Application","projectPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\KernelRecordsMVC.Application.csproj","packagesPath":"","outputPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Application\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Domain\\KernelRecordsMVC.Domain.csproj":{"projectPath":"C:\\Users\\Marko\\RiderProjects\\KernelRecordsMVC\\KernelRecordsMVC.Domain\\KernelRecordsMVC.Domain.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Microsoft.EntityFrameworkCore":{"target":"Package","version":"[8.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\8.0.424/PortableRuntimeIdentifierGraph.json"}}
  • KernelRecordsMVC.Application/obj/rider.project.model.nuget.info

    rfa0fbaf rd2eccb3  
    1 17878866226874199
     117882300160457909
  • KernelRecordsMVC.Application/obj/rider.project.restore.info

    rfa0fbaf rd2eccb3  
    1 17878899596254809
     117882300160457909
Note: See TracChangeset for help on using the changeset viewer.