using Complex.Domain.Commons; namespace Complex.Domain.Entities { [Auditable] public class Unit : BaseEntity { public Guid ComplexId { set; get; } public string UnitName { set; get; } public virtual ComplexEntity Complex { set; get; } /// /// ساکن /// public string? OwnerId { set; get; } /// /// ساکن /// public virtual Person? Owner { set; get; } /// /// شماره مستاجر /// public string? TenantId { set; get; } /// /// مستاجر /// public virtual Person? Tenant { set; get; } public bool IsActive { set; get; } /// /// متراژ کل /// public int? AreaMeter { set; get; } /// /// بدهی از قبل /// //public int? RemainingAmount { set; get; } //public string? LastPaymentDate { set; get; } public string? EmergencyTels { set; get; } public int? ParkingAreaMeter { set; get; } /// /// متراژ حیاط /// public int? YardMeter { set; get; } public string? PublicState { set; get; } public int? StateId { set; get; } public virtual UnitState State { set; get; } public int? Floor { set; get; } //public string? UnitId { set; get; } public string? ManagerDescription { set; get; } public virtual ICollection CostCycles { set; get; } } }