Add link to houses in operation entity

This commit is contained in:
2025-11-16 11:21:25 +09:00
parent 75ba19839e
commit 010c2b5098

View File

@ -34,6 +34,8 @@ namespace Hcs.WebApp.Data.Hcs
public virtual ICollection<Registry> Registries { get; set; } = []; public virtual ICollection<Registry> Registries { get; set; } = [];
public virtual ICollection<House> Houses { get; set; } = [];
[NotMapped] [NotMapped]
public bool Completed => EndedAt.HasValue; public bool Completed => EndedAt.HasValue;
} }