//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Manual changes to this file may cause unexpected behavior in your application.
//     Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace WebApplication2.Models
{
    using System;
    using System.Collections.Generic;
    
    public partial class News
    {
        public News()
        {
            this.Likes1 = new HashSet<Likes>();
        }
    
        public int NewsID { get; set; }
        public string Title { get; set; }
        public string Text { get; set; }
        public Nullable<int> Likes { get; set; }
        public Nullable<int> dislike { get; set; }
    
        public virtual ICollection<Likes> Likes1 { get; set; }
    }
}
