init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Email
|
||||
{
|
||||
public class EmailListRequest
|
||||
{
|
||||
public List<int> FelhasznaloIds { get; set; }
|
||||
|
||||
public bool? IsPublic { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Email
|
||||
{
|
||||
public class EmailListResponse : IEqualityComparer<EmailListResponse>
|
||||
{
|
||||
public FelhasznaloUid FelhasznaloUid { get; set; }
|
||||
|
||||
public List<EmailResponse> Emailek { get; set; } = new List<EmailResponse>();
|
||||
|
||||
public EmailListResponse()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public bool Equals(EmailListResponse x, EmailListResponse y) => x == y || x.FelhasznaloUid.Equals(x.FelhasznaloUid, y.FelhasznaloUid);
|
||||
|
||||
public int GetHashCode(EmailListResponse obj)
|
||||
{
|
||||
return base.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using Kreta.Ellenorzo.Domain.VN.Adatszotar;
|
||||
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
||||
using Kreta.Enums;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Email
|
||||
{
|
||||
public class EmailResponse : IEqualityComparer<EmailResponse>
|
||||
{
|
||||
public string Email { get; set; }
|
||||
|
||||
public Adatszotar<EmailTipusEnum> Tipus { get; set; }
|
||||
|
||||
public bool IsAlapertelmezett { get; set; }
|
||||
|
||||
public EmailUid Uid { get; set; }
|
||||
|
||||
public bool Equals(EmailResponse x, EmailResponse y) => x.Uid.Equals(x.Uid, y.Uid);
|
||||
|
||||
public int GetHashCode(EmailResponse obj) => obj.Uid.UidRaw.GetHashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user