BackEnd/YTManager/Models/Tag.cs

20 lines
393 B
C#
Raw Normal View History

2018-02-18 19:38:28 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace YTManager.Models
{
public class Tag
{
// Uniquie ID for this media type
[Key]
public long PrimaryKey { get; set; }
2018-02-18 19:38:28 +00:00
// Tag Name.
[Required]
public string Name { get; set; }
}
}