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

Minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.