20 lines
664 B
C#
20 lines
664 B
C#
namespace Brizco.Domain.Entities.Complexes;
|
|
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
|
|
[GenerateMapper]
|
|
public class ComplexUserRole : ApiEntity
|
|
{
|
|
public ComplexUserRole()
|
|
{
|
|
|
|
}
|
|
public ComplexUserRole(Guid complexUserId, Guid roleId)
|
|
{
|
|
ComplexUserId = complexUserId;
|
|
RoleId = roleId;
|
|
}
|
|
public Guid ComplexUserId { get; internal set; }
|
|
public ComplexUser? ComplexUser { get; internal set; }
|
|
|
|
public Guid RoleId { get; internal set; }
|
|
public ApplicationRole? Role { get; internal set; }
|
|
} |