📄 timeplansearcher.cs
字号:
using System;
using Entities;
namespace Search
{
public class TimePlanSearcher:TimePlan
{
private bool timePlanIDIsValid;
private bool timePlanNameIsValid;
private bool sundayAmIsValid;
private bool sundayPmIsValid;
private bool mondayAmIsValid;
private bool mondayPmIsValid;
private bool tuesdayAmIsValid;
private bool tuesdayPmIsValid;
private bool wednesdayAmIsValid;
private bool wednesdayPmIsValid;
private bool thursdayAmIsValid;
private bool thursdayPmIsValid;
private bool fridayAmIsValid;
private bool fridayPmIsValid;
private bool saturdayAmIsValid;
private bool saturdayPmIsValid;
//(时间安排ID)是否是搜索条件
public bool TimePlanIDIsValid
{
get{ return timePlanIDIsValid;}
set{timePlanIDIsValid=value;}
}
//(时间安排名称)是否是搜索条件
public bool TimePlanNameIsValid
{
get{ return timePlanNameIsValid;}
set{timePlanNameIsValid=value;}
}
//(周日上午是否有课)是否是搜索条件
public bool SundayAmIsValid
{
get{ return sundayAmIsValid;}
set{sundayAmIsValid=value;}
}
//(周日下午是否有课)是否是搜索条件
public bool SundayPmIsValid
{
get{ return sundayPmIsValid;}
set{sundayPmIsValid=value;}
}
//(周一上午是否有课)是否是搜索条件
public bool MondayAmIsValid
{
get{ return mondayAmIsValid;}
set{mondayAmIsValid=value;}
}
//(周一下午是否有课)是否是搜索条件
public bool MondayPmIsValid
{
get{ return mondayPmIsValid;}
set{mondayPmIsValid=value;}
}
//(周二上午是否有课)是否是搜索条件
public bool TuesdayAmIsValid
{
get{ return tuesdayAmIsValid;}
set{tuesdayAmIsValid=value;}
}
//(周二下午是否有课)是否是搜索条件
public bool TuesdayPmIsValid
{
get{ return tuesdayPmIsValid;}
set{tuesdayPmIsValid=value;}
}
//(周三上午是否有课)是否是搜索条件
public bool WednesdayAmIsValid
{
get{ return wednesdayAmIsValid;}
set{wednesdayAmIsValid=value;}
}
//(周三下午是否有课)是否是搜索条件
public bool WednesdayPmIsValid
{
get{ return wednesdayPmIsValid;}
set{wednesdayPmIsValid=value;}
}
//(周四上午是否有课)是否是搜索条件
public bool ThursdayAmIsValid
{
get{ return thursdayAmIsValid;}
set{thursdayAmIsValid=value;}
}
//(周四下午是否有课)是否是搜索条件
public bool ThursdayPmIsValid
{
get{ return thursdayPmIsValid;}
set{thursdayPmIsValid=value;}
}
//(周五上午是否有课)是否是搜索条件
public bool FridayAmIsValid
{
get{ return fridayAmIsValid;}
set{fridayAmIsValid=value;}
}
//(周五下午是否有课)是否是搜索条件
public bool FridayPmIsValid
{
get{ return fridayPmIsValid;}
set{fridayPmIsValid=value;}
}
//(周六上午是否有课)是否是搜索条件
public bool SaturdayAmIsValid
{
get{ return saturdayAmIsValid;}
set{saturdayAmIsValid=value;}
}
//(周六下午是否有课)是否是搜索条件
public bool SaturdayPmIsValid
{
get{ return saturdayPmIsValid;}
set{saturdayPmIsValid=value;}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -