| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 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
- /// <summary>
- /// Path of the model property
- /// </summary>
- public string ModelPropertyPath { get; set; }
- /// <summary>
- /// Term to be searched for
- /// </summary>
- public string SearchTerm { get; set; }
- #endregion
- #region Ctor
- /// <summary>
- /// Initializes a new instance of the SearchModel class
- /// </summary>
- public SearchModel() { }
- /// <summary>
- /// Initializes a new instance of the SearchModel class
- /// </summary>
- /// <param name="modelPropertyPath">The path of the model property.</param>
- public SearchModel(string modelPropertyPath)
- {
- ModelPropertyPath = modelPropertyPath;
- }
- #endregion
- }
- }
|