using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.BL.ActionLogs; using Tango.BL.Entities; namespace Tango.BL.DTO { public class HardwareDancerDTO : HardwareDancerDTOBase { [ObservableDTOProperty(MapsTo = nameof(HardwareDancer.HardwareDancerType) + "." + nameof(HardwareDancer.HardwareDancerType.Description))] public String HardwareDancerTypeDescription { get; set; } [ActionLogIgnore] public HardwareDancerTypeDTO HardwareDancerType { get; set; } protected override string OnGetActionLogName() { return $"Dancer '{HardwareDancerTypeDescription}'"; } } }