1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
621 B

using System;
using System.Collections.Generic;
using System.Text;
namespace PhilExampleCrawler.Common.Models
{
public struct CrawlSearchParams
{
public string KeyWords { get; set; }
public string LocationStr { get; set; }
public int CategoryID { get; set; }
public int Radius { get; set; }
public CrawlSearchParams(string keywords, string locationStr, int categoryID = -1, int radius = 0)
{
KeyWords = keywords ?? "";
LocationStr = locationStr ?? "";
CategoryID = categoryID;
Radius = radius;
}
}
}