source: KernelRecordsMVC.Application/ViewModels/CreateTrackViewModel.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: 451 bytes
Line 
1using System.ComponentModel.DataAnnotations;
2
3namespace KernelRecordsMVC.Application.ViewModels;
4
5public class CreateTrackViewModel
6{
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();
19}
Note: See TracBrowser for help on using the repository browser.