first commit
This commit is contained in:
52
Complex.Domain/Entities/Unit.cs
Normal file
52
Complex.Domain/Entities/Unit.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using Complex.Domain.Commons;
|
||||
|
||||
namespace Complex.Domain.Entities
|
||||
{
|
||||
[Auditable]
|
||||
public class Unit : BaseEntity<Guid>
|
||||
{
|
||||
public Guid ComplexId { set; get; }
|
||||
public string UnitName { set; get; }
|
||||
public virtual ComplexEntity Complex { set; get; }
|
||||
/// <summary>
|
||||
/// ساکن
|
||||
/// </summary>
|
||||
public string? OwnerId { set; get; }
|
||||
/// <summary>
|
||||
/// ساکن
|
||||
/// </summary>
|
||||
public virtual Person? Owner { set; get; }
|
||||
/// <summary>
|
||||
/// شماره مستاجر
|
||||
/// </summary>
|
||||
public string? TenantId { set; get; }
|
||||
/// <summary>
|
||||
/// مستاجر
|
||||
/// </summary>
|
||||
public virtual Person? Tenant { set; get; }
|
||||
public bool IsActive { set; get; }
|
||||
/// <summary>
|
||||
/// متراژ کل
|
||||
/// </summary>
|
||||
public int? AreaMeter { set; get; }
|
||||
/// <summary>
|
||||
/// بدهی از قبل
|
||||
/// </summary>
|
||||
//public int? RemainingAmount { set; get; }
|
||||
//public string? LastPaymentDate { set; get; }
|
||||
public string? EmergencyTels { set; get; }
|
||||
public int? ParkingAreaMeter { set; get; }
|
||||
/// <summary>
|
||||
/// متراژ حیاط
|
||||
/// </summary>
|
||||
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<CostCycle> CostCycles { set; get; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user