using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SunnyMusic
{
    /// <summary>
    /// 搜索参数
    /// </summary>
    public class SearchArgs
    {
        /// <summary>
        /// 关键字
        /// </summary>
        public string Word { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int Page { get; set; }
        /// <summary>
        /// 是否清除歌曲列表
        /// </summary>
        public bool Cls { get; set; }
        public string Source { get; set; }
        public int Num { get; set; }
        /// <summary>
        /// 搜索参数构造函数
        /// </summary>
        /// <param name="wors">关键字</param>
        /// <param name="page">页码</param>
        /// <param name="c">是否清除歌曲列表</param>
        public SearchArgs(string wors, int page, bool c)
        {
            Word = wors;
            Page = page;
            Cls = c;
        }
        public SearchArgs(string wors, int page, bool c,string s)
        {
            Word = wors;
            Page = page;
            Cls = c;
            Source = s;
        }
    }
}
