📄 holiday.cs
字号:
using System;
using System.Collections;
namespace Entities
{
public class Holiday
{
private Int32 holidayID;
private Int32 classID;
private DateTime startDate;
private DateTime endDate;
private bool aMStart;
private bool aMEnd;
//外键关联的实体字段
private Class cls ;
//
public Int32 HolidayID
{
get{ return holidayID;}
set{holidayID=value;}
}
//
public Int32 ClassID
{
get{ return classID;}
set{classID=value;}
}
//
public DateTime StartDate
{
get{ return startDate;}
set{startDate=value;}
}
//
public DateTime EndDate
{
get{ return endDate;}
set{endDate=value;}
}
//
public bool AMStart
{
get{ return aMStart;}
set{aMStart=value;}
}
//
public bool AMEnd
{
get{ return aMEnd;}
set{aMEnd=value;}
}
//外键关联的实体属性
public Class Class
{
get{ return cls; }
set{ cls = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -