Se hizo toda la parte del Unit Of Work y estoy a punto de terminar la de tests unitarios
This commit is contained in:
Alejandro Sarmiento
2024-02-28 22:40:34 +01:00
parent b55f2be085
commit 81a3e91d6e
67 changed files with 1112 additions and 1375 deletions

View File

@@ -0,0 +1,22 @@
using MongoProject.Domain.Common;
namespace MongoProject.Domain
{
public class Video : BaseDomainModel
{
public Video()
{
Actores = [];
}
public string? Nombre { get; set; }
public int StreamerId { get; set; }
public virtual Streamer? Streamer { get; set; }
public int? DirectorId { get; set; }
public virtual Director? Director { get; set; }
public virtual ICollection<Actor>? Actores { get; set; }
}
}