first commit
This commit is contained in:
32
Complex.Domain/Entities/Person.cs
Normal file
32
Complex.Domain/Entities/Person.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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<string>
|
||||
{
|
||||
//[Key]
|
||||
//public string MobileNumber { set; get; }
|
||||
|
||||
public ICollection<UserToken> 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<int>
|
||||
{
|
||||
public Guid ComplexId { set; get; }
|
||||
//public virtual ComplexEntity Complex { set; get; }
|
||||
public string? PersonMobileNumberId { set; get; }
|
||||
public Person? PersonMobileNumber { set; get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user