using System.ComponentModel.DataAnnotations;

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

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

        [Required]
        public string? PicturePath { get; set; }

        [Required]
        public required DateTime CreationTime { get; set; }

        public DateTime? LastChange { get; set; }
    }
}