using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GreenTree.Strohrmann.ERP.Web.Models.Shared
{
public class SearchModel
{
#region Properties
///
/// Path of the model property
///
public string ModelPropertyPath { get; set; }
///
/// Term to be searched for
///
public string SearchTerm { get; set; }
#endregion
#region Ctor
///
/// Initializes a new instance of the SearchModel class
///
public SearchModel() { }
///
/// Initializes a new instance of the SearchModel class
///
/// The path of the model property.
public SearchModel(string modelPropertyPath)
{
ModelPropertyPath = modelPropertyPath;
}
#endregion
}
}