Add house entity
This commit is contained in:
24
Hcs.WebApp/Data/Hcs/House.cs
Normal file
24
Hcs.WebApp/Data/Hcs/House.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user