using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sleis.Models ; using System.Reflection; namespace Sleis.Export { public class FieldPropertyMapping { public int SortOrder {get;set;} public string PropertyName { get; set; } public string ColumnName { get; set; } public string ChildPropertyName { get; set; } public FieldPropertyMapping(int sortOrder, string propertyName, string colName) { SortOrder = sortOrder; PropertyName = propertyName; ColumnName = colName; } public FieldPropertyMapping(int sortOrder, string propertyName, string colName, string childPropertyName) { SortOrder = sortOrder; PropertyName = propertyName; ColumnName = colName; this.ChildPropertyName = childPropertyName; } } }