add repository with mysql and entities

This commit is contained in:
Oleksandr Bezdieniezhnykh
2024-07-16 14:18:55 +03:00
parent 32c92fedf2
commit bfbfdf6658
18 changed files with 331 additions and 3 deletions
@@ -0,0 +1,7 @@
namespace Azaion.Repository.DTO;
public class ConnectionStrings
{
public string? FraudDb { get; set; }
public string? FraudDbMsSql { get; set; }
}
@@ -0,0 +1,9 @@
namespace Azaion.Video.DTO;
public enum MediaStatusEnum
{
None = 0,
Uploaded = 10,
Annotating = 20,
Annotated = 30
}
@@ -0,0 +1,11 @@
using Azaion.Video.DTO;
namespace Azaion.Repository.DTO;
public class VideoDto
{
public Guid Id { get; set; }
public string Path { get; set; } = null!;
public MediaStatusEnum MediaStatus { get; set; }
public DateTime CreatedDate { get; set; }
}