⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timeplan.cs

📁 这是一个自动排课软件(包含源码,需求分析,详细设计).希望对你有所帮助.
💻 CS
字号:
using System;
using System.Collections;

namespace Entities
{
    public class TimePlan
	{
        private Int32 timePlanID; 
        private string timePlanName; 
        private bool sundayAm; 
        private bool sundayPm; 
        private bool mondayAm; 
        private bool mondayPm; 
        private bool tuesdayAm; 
        private bool tuesdayPm; 
        private bool wednesdayAm; 
        private bool wednesdayPm; 
        private bool thursdayAm; 
        private bool thursdayPm; 
        private bool fridayAm; 
        private bool fridayPm; 
        private bool saturdayAm; 
        private bool saturdayPm; 
	    //外键关联的实体字段
	
	
        //时间安排ID
		public Int32 TimePlanID
		{
		    get{ return timePlanID;}
			set{timePlanID=value;}
		}
        //时间安排名称
		public string TimePlanName
		{
		    get{ return timePlanName;}
			set{timePlanName=value;}
		}
        //周日上午是否有课
		public bool SundayAm
		{
		    get{ return sundayAm;}
			set{sundayAm=value;}
		}
        //周日下午是否有课
		public bool SundayPm
		{
		    get{ return sundayPm;}
			set{sundayPm=value;}
		}
        //周一上午是否有课
		public bool MondayAm
		{
		    get{ return mondayAm;}
			set{mondayAm=value;}
		}
        //周一下午是否有课
		public bool MondayPm
		{
		    get{ return mondayPm;}
			set{mondayPm=value;}
		}
        //周二上午是否有课
		public bool TuesdayAm
		{
		    get{ return tuesdayAm;}
			set{tuesdayAm=value;}
		}
        //周二下午是否有课
		public bool TuesdayPm
		{
		    get{ return tuesdayPm;}
			set{tuesdayPm=value;}
		}
        //周三上午是否有课
		public bool WednesdayAm
		{
		    get{ return wednesdayAm;}
			set{wednesdayAm=value;}
		}
        //周三下午是否有课
		public bool WednesdayPm
		{
		    get{ return wednesdayPm;}
			set{wednesdayPm=value;}
		}
        //周四上午是否有课
		public bool ThursdayAm
		{
		    get{ return thursdayAm;}
			set{thursdayAm=value;}
		}
        //周四下午是否有课
		public bool ThursdayPm
		{
		    get{ return thursdayPm;}
			set{thursdayPm=value;}
		}
        //周五上午是否有课
		public bool FridayAm
		{
		    get{ return fridayAm;}
			set{fridayAm=value;}
		}
        //周五下午是否有课
		public bool FridayPm
		{
		    get{ return fridayPm;}
			set{fridayPm=value;}
		}
        //周六上午是否有课
		public bool SaturdayAm
		{
		    get{ return saturdayAm;}
			set{saturdayAm=value;}
		}
        //周六下午是否有课
		public bool SaturdayPm
		{
		    get{ return saturdayPm;}
			set{saturdayPm=value;}
		}
	
	    //外键关联的实体属性
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -