using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for like
/// </summary>
public class like
{
	public like()
	{
        this.ID = Guid.NewGuid();
        this.IpAddress = HttpContext.Current.Request.UserHostAddress;
	}
    [System.ComponentModel.DataAnnotations.Required]
    [System.ComponentModel.DataAnnotations.Key]
    [System.ComponentModel.DataAnnotations.Schema.DatabaseGenerated
        (System.ComponentModel.DataAnnotations.Schema
        .DatabaseGeneratedOption.None)]
    public Guid ID { get; set; }
    [System.ComponentModel.DataAnnotations.Required]
    public int articleID { get; set; }
    public string IpAddress { get; set; }


    public article articles { get; set; }
}