namespace CMSMicroservice.Domain.Entities; //کاربر public class User : BaseAuditableEntity { //نام public string? FirstName { get; set; } //نام خانوادگی public string? LastName { get; set; } //شماره موبایل public string Mobile { get; set; } //کد ملی public string? NationalCode { get; set; } //آدرس آواتار public string? AvatarPath { get; set; } //شناسه والد public long? ParentId { get; set; } //User Navigation Property public virtual User? Parent { get; set; } //کد ارجاع public string ReferralCode { get; set; } //موبایل فعال شده؟ public bool IsMobileVerified { get; set; } //تاریخ فعال سازی موبایل public DateTime? MobileVerifiedAt { get; set; } //قوانین پذیرفته شده؟ public bool IsRulesAccepted { get; set; } //تاریخ پذیرش قوانین public DateTime? RulesAcceptedAt { get; set; } //اعلان ایمیل public bool EmailNotifications { get; set; } //اعلان پیامک public bool SmsNotifications { get; set; } //اعلان پوش public bool PushNotifications { get; set; } //تاریخ تولد public DateTime? BirthDate { get; set; } //UserAddress Collection Navigation Reference public virtual ICollection UserAddresss { get; set; } //UserRole Collection Navigation Reference public virtual ICollection UserRoles { get; set; } //UserOrder Collection Navigation Reference public virtual ICollection UserOrders { get; set; } //User Collection Navigation Reference public virtual ICollection Users { get; set; } }