25 lines
533 B
C#
25 lines
533 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 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; }
|
|
}
|
|
}
|