﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace HockeyApp.Models.News
{
    [Table("Sources", Schema = "news")]
    public class Source
    {
        public long Id { get; set; }

        [Required]
        //[Index(IsUnique = true)]
        [StringLength(100)]
        public string Name { get; set; }

        [StringLength(500)]
        public string LinkName { get; set; }
    }
}
