﻿using System.ComponentModel.DataAnnotations;

namespace KernelRecordsMVC.Application.ViewModels;

public class EditReleaseViewModel
{
    public long ReleaseId { get; set; }


    [Required]
    public string Title { get; set; } = string.Empty;


    [Display(Name = "Record Label")]
    public string? RecordLabel { get; set; }


    [Required]
    public string Genre { get; set; } = string.Empty;


    [Required]
    [Display(Name = "Release Date")]
    [DataType(DataType.Date)]
    public DateTime ReleaseDate { get; set; }


    [Required]
    [Display(Name = "Cover Photo URL")]
    public string CoverPhoto { get; set; } = string.Empty;


    // ==========================================
    // ARTISTS
    // ==========================================

    [Required]
    [Display(Name = "Main Artist")]
    public long MainArtistId { get; set; }


    [Display(Name = "Featured Artists")]
    public List<long> FeaturedArtistIds { get; set; } = new();
}