Files
hcs/Hcs.WebApp/Data/Hcs/House.cs

27 lines
580 B
C#

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 Guid? HcsId { get; set; }
public string? 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; }
}
}