44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
using Complex.Domain.Commons;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Complex.Domain.Entities
|
|
{
|
|
[Auditable]
|
|
public class ComplexEntity : BaseEntity<Guid>
|
|
{
|
|
public string Title { set; get; }
|
|
public string? Address { set; get; }
|
|
/// <summary>
|
|
/// وضعیت
|
|
/// </summary>
|
|
public int? StateId { set; get; }
|
|
/// <summary>
|
|
/// متراژ کل
|
|
/// </summary>
|
|
public int? AreaMeter { set; get; }
|
|
/// <summary>
|
|
/// متراژ حیاط
|
|
/// </summary>
|
|
public int? YardMeter { set; get; }
|
|
/// <summary>
|
|
/// تعداد آسانسور
|
|
/// </summary>
|
|
public int? ElevatorCount { set; get; }
|
|
/// <summary> تعداد انباری</summary>
|
|
public int? WarehouseCount { set; get; }
|
|
public int? YearMake { set; get; }
|
|
public Guid? ParentId { set; get; }
|
|
public ComplexEntity? Parent { set; get; }
|
|
public string? Description { set; get; }
|
|
public int CityId { set; get; }
|
|
public virtual City City { set; get; }
|
|
public virtual Collection<ComplexManager> ComplexManagers { set; get; }
|
|
public virtual ICollection<Unit> Units { set; get; }
|
|
}
|
|
}
|