Add EmailAddress to Recipient; IEmailAddress refactoring;
This commit is contained in:
parent
1cb10b0ae7
commit
39e10bbfe7
|
|
@ -5,7 +5,7 @@ using AyCode.Interfaces.Users.Dtos;
|
||||||
|
|
||||||
namespace AyCode.Interfaces.Users;
|
namespace AyCode.Interfaces.Users;
|
||||||
|
|
||||||
public interface IAcUserBase : IEntityGuid, IAcProfileForeignKey, IEmailAddress, IPassword, ITimeStampInfo
|
public interface IAcUserBase : IEntityGuid, IAcProfileForeignKey, IEmailAddress, IEmailConfirmed, IPassword, ITimeStampInfo
|
||||||
{
|
{
|
||||||
public string PhoneNumber { get; set; }
|
public string PhoneNumber { get; set; }
|
||||||
public string? RefreshToken { get; set; }
|
public string? RefreshToken { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ public interface IEmailAddress
|
||||||
[MaxLength(150)]
|
[MaxLength(150)]
|
||||||
string EmailAddress { get; set; }
|
string EmailAddress { get; set; }
|
||||||
|
|
||||||
bool EmailConfirmed { get; set; }
|
|
||||||
//[MaxLength(150)]
|
//[MaxLength(150)]
|
||||||
//string NormalizedEmail { get; set; }
|
//string NormalizedEmail { get; set; }
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
namespace AyCode.Interfaces.Users;
|
||||||
|
|
||||||
|
public interface IEmailConfirmed
|
||||||
|
{
|
||||||
|
bool EmailConfirmed { get; set; }
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue