using Complex.Domain.Commons; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Complex.Domain.Entities { [Auditable] public class Person : BaseEntity { //[Key] //public string MobileNumber { set; get; } public ICollection UserTokens { get; set; } public string? FirstName { get; set; } public string? LastName { get; set; } public byte? Gender { set;get; } //public int? MobileCode { set;get; } public byte[]? Avatar { set; get; } public bool IsActive { set; get; } = true; } public class ComplexPerson : BaseEntity { public Guid ComplexId { set; get; } //public virtual ComplexEntity Complex { set; get; } public string? PersonMobileNumberId { set; get; } public Person? PersonMobileNumber { set; get; } } }