2023-09-15 12:37:02 +03:30
|
|
|
|
namespace Brizco.Domain.Entities.Complex;
|
|
|
|
|
|
|
2023-09-18 09:45:02 +03:30
|
|
|
|
[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]
|
2023-09-15 12:37:02 +03:30
|
|
|
|
public class Complex : ApiEntity
|
|
|
|
|
|
{
|
2023-09-18 09:45:02 +03:30
|
|
|
|
public string Name { get; internal set; } = string.Empty;
|
|
|
|
|
|
public string Address { get; internal set; } = string.Empty;
|
|
|
|
|
|
public string SupportPhone { get; internal set; } = string.Empty;
|
2023-09-15 12:37:02 +03:30
|
|
|
|
}
|