using System.Collections.Generic; using MapTo; namespace BlueWest.Data { [MapFrom(new []{typeof(IndustryCreate), typeof(IndustryUpdate)})] public partial class Industry { public int Id { get; set; } public string IndustryName { get; set; } public Industry IndustryParent { get; set; } public List IndustryChilds { get; set; } } }