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

11 lines
604 B
C#

namespace Brizco.Domain.Entities.Complex;
[AdaptTwoWays("[name]SDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
[AdaptTwoWays("[name]LDto", IgnoreAttributes = new[] { typeof(AdaptIgnoreAttribute) }, MapType = MapType.Map | MapType.MapToTarget | MapType.Projection)]
[GenerateMapper]
public class Complex : ApiEntity
{
public string Name { get; internal set; } = string.Empty;
public string Address { get; internal set; } = string.Empty;
public string SupportPhone { get; internal set; } = string.Empty;
}