namespace Netina.Domain.Entities.Users;

[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget)]
[AdaptTo("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Projection)]
[GenerateMapper]
public class Marketer : ApiEntity
{
    public string FatherName { get; set; } = string.Empty;
    public string Shaba { get; set; } = string.Empty;
    public DateTime LastSettlement { get; set; }

    public Guid UserId { get; set; }
    public ApplicationUser? User { get; set; }

    public Discount? Discount { get; set; }
}