24 lines
583 B
C#
24 lines
583 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace YTManager.Models {
|
|
public class UserTag {
|
|
// Uniquie ID for this media type
|
|
[Key]
|
|
public long PrimaryKey { get; set; }
|
|
|
|
// Title of the media
|
|
[Required]
|
|
public string Title { get; set; }
|
|
|
|
// Short description of the media
|
|
[Required]
|
|
public string Description { get; set; }
|
|
|
|
// Channels which this tag represents.
|
|
[Required]
|
|
public List<Channel> Channels { get; set; }
|
|
}
|
|
}
|