using Newtonsoft.Json;
using System.ComponentModel;

namespace Lab9.Models
{
    public class News
    {
        public int Id { get; set; }
        public required string Title { get; set; }
        public required string NewsText { get; set; }
        public DateTime Date {  get; set; }
        public required string Category { get; set; }
        public required string Producer { get; set; }
    }
}
