﻿namespace ch.wuerth.tobias.liquidmixer.Models
{
    #region usings

    using System;
    using System.ComponentModel.DataAnnotations;

    #endregion

    public class Comment
    {
        [Key]
        public Int32 CommentId { get; set; }

        [Required]
        [MinLength(5)]
        [MaxLength(1024)]
        public String Text { get; set; }

        [Required]
        public virtual User User { get; set; }

        [Required]
        public virtual Flavor Flavor { get; set; }
    }
}