using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using TeamManiacs.Core.Enums;

namespace TeamManiacs.Core.Models
{
    public class Picture
    {
        [Key]
        [Required]
        public int Id { get; set; }


        [Required]
        public string Name { get; set; }

        
        public string? Description { get; set; }

        [Required]
        [JsonConverter(typeof(JsonStringEnumMemberConverter))]
        public MediaFormat MediaFormat { get; set; }
    }
}
