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,58 @@
using Azaion.Repository.DTO;
namespace Azaion.Video;
public interface IVideoManager
{
List<VideoDto> GetVideos();
void OpenVideo(Guid mediaId);
void CreateAnnotation(Guid mediaId, DateTime time)
{
}
void FinishAnnotation(Guid mediaId);
// after video ends, refresh list of free to edit videos.
// on attempt to open video, check whether it is already taken, if yes, then businessError, else take it to user
//
// Users
// Guid Username Email PasswordHash PasswordSalt CreatedDate UpdatedDate
//
// Media
// Guid Path UserId Status CreatedDate
//
// Annotations
// Guid MediaId ImagePath LabelPath CreatedDate
//
// Sftp Changes crawler
// Google Downloader
//
// Video_path User
//
// v01 NULL
// v02 NULL
// v03 NULL
// v04 NULL
// v05 user1
// v06 user1
// v07 user1
// v08 NULL
// v09 user2
// v10 user3
// v11 user3
// v12 NULL
// v13 user2
// v14 NULL
// v15
// v16
// v17
// v18
// v19
// v20
// v21
// v22
// v23
// v24
// v25
}