move project
This commit is contained in:
8
Models/DetailsViewModel.cs
Normal file
8
Models/DetailsViewModel.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace TagVid.Models;
|
||||
|
||||
public class DetailsViewModel
|
||||
{
|
||||
public string VideoId { get; set; } = string.Empty;
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public List<string> Tags { get; set; } = new List<string>();
|
||||
}
|
8
Models/ErrorViewModel.cs
Normal file
8
Models/ErrorViewModel.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace TagVid.Models;
|
||||
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string? RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
11
Models/SettingsViewModel.cs
Normal file
11
Models/SettingsViewModel.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace TagVid.Models;
|
||||
|
||||
public class SettingsViewModel
|
||||
{
|
||||
[Required(ErrorMessage = "Video path is required.")]
|
||||
[Display(Name = "Video Path")]
|
||||
public string? VideoPath { get; set; } = null;
|
||||
public string? ErrorMessage { get; set; }
|
||||
}
|
Reference in New Issue
Block a user