Api/Brizco.Domain/Entities/Complex/ComplexUser.cs

14 lines
541 B
C#
Raw Normal View History

2023-09-15 12:37:02 +03:30
using Brizco.Domain.Entities.User;
namespace Brizco.Domain.Entities.Complex;
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
[GenerateMapper]
2023-09-15 12:37:02 +03:30
public class ComplexUser : ApiEntity
{
public Guid UserId { get; internal set; }
public Guid ComplexId { get; internal set; }
public Guid RoleId { get; internal set; }
2023-09-15 12:37:02 +03:30
public ApplicationUser? User { get; internal set; }
public Complex? Complex { get; internal set; }
2023-09-15 12:37:02 +03:30
}