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 HardwareBlowerDTO : HardwareBlowerDTOBase { [ObservableDTOProperty(MapsTo = nameof(HardwareBlower.HardwareBlowerType) + "." + nameof(HardwareBlower.HardwareBlowerType.Description))] public String HardwareBlowerTypeDescription { get; set; } [ActionLogIgnore] public HardwareBlowerTypeDTO HardwareBlowerType { get; set; } protected override string OnGetActionLogName() { return $"Blower '{HardwareBlowerTypeDescription}'"; } } }