﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;

namespace OnlineMediaAnalyzer.Models
{
    public class PartyKeyword
    {
        public int ID { get; set; }

        public int PartyID { get; set; }
        public virtual Party Party { get; set; }

        [Required(ErrorMessage = "Keyword is required")]
        [StringLength(128, ErrorMessage = "Keyword length should be less than 128")]
        public string Keyword { get; set; }
    }
}