Add house entity

This commit is contained in:
2025-11-06 10:32:18 +09:00
parent d73b88035a
commit 6027468596

View File

@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore;
namespace Hcs.WebApp.Data.Hcs
{
[Index(nameof(FiasId), IsUnique = true)]
public class House
{
public int Id { get; set; }
public Guid FiasId { get; set; }
public int ThirdPartyId { get; set; }
public bool IsMkd { get; set; }
public bool IsZhd { get; set; }
public DateTime? SyncedAt { get; set; }
public int? LastSyncOperationId { get; set; }
public virtual Operation? LastSyncOperation { get; set; }
}
}