using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace TP02Photo_sharing.Models
{
    public class Comment
    {
        public int ID { get; set; }       
        public string Owner { get; set; }
        [Display(Name = "Sujet")]
        public string Subject { get; set; }
        [Display(Name = "Commentaire")]
        public string Body { get; set; }
        public int PhotoID { get; set; } 
        public virtual Photo photo { get; set; }

    }
}