using System.ComponentModel.DataAnnotations;

namespace CouchLog.Data
{
    public class MediaType
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [MaxLength(50)]
        public required string Name { get; set; }


        // --- Navigation Property ---
        public virtual ICollection<GlobalEntity> GlobalEntities { get; set; } = new List<GlobalEntity>();
    }
}