HUGE arch changes to make searching work right
This commit is contained in:
@ -33,6 +33,11 @@ namespace YTManager.Models {
|
||||
public DateTime Refreshed { get; set; }
|
||||
|
||||
// Videos this channel has.
|
||||
[Required]
|
||||
public List<Video> Videos { get; set; }
|
||||
|
||||
// Tags attached to this channel by user.
|
||||
[Required]
|
||||
public string[] UserTags { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace YTManager.Models
|
||||
{
|
||||
public class Tag
|
||||
{
|
||||
// Uniquie ID for this media type
|
||||
[Key]
|
||||
public long PrimaryKey { get; set; }
|
||||
|
||||
// Tag Name.
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
@ -42,6 +42,6 @@ namespace YTManager.Models {
|
||||
|
||||
// Tag this video applies to.
|
||||
[Required]
|
||||
public List<Tag> Tags { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user