예제 #1
0
파일: TitleRecord.cs 프로젝트: kmlihy/PMS
 /// <summary>
 /// 参数构造函数
 /// </summary>
 /// <param name="titleRecordId">选题记录id</param>
 /// <param name="student">学生表</param>
 /// <param name="title">题目表</param>
 /// <param name="defeseTeamId">答辩小组</param>
 /// <param name="recordCreateTime">创建时间</param>
 /// <param name="college">分院编号</param>
 public TitleRecord(int titleRecordId, Student student, Title title, int defeseTeamId, Profession profession, Plan plan, DateTime recordCreateTime, College college)
 {
     this.TitleRecordId    = titleRecordId;
     this.student          = student;
     this.title            = title;
     this.DefeseTeamId     = defeseTeamId;
     this.profession       = profession;
     this.plan             = plan;
     this.recordCreateTime = recordCreateTime;
     this.college          = college;
 }
예제 #2
0
파일: Student.cs 프로젝트: kmlihy/PMS
 /// <summary>
 /// 参数构造函数
 /// </summary>
 /// <param name="stuAccount">学生用户名</param>
 /// <param name="stuPwd">学生密码</param>
 /// <param name="realName">学生姓名</param>
 /// <param name="sex">学生性别</param>
 /// <param name="phone">联系电话</param>
 /// <param name="email">邮箱</param>
 /// <param name="state">判断学生是否被分配到答辩小组</param>
 /// <param name="profession">学生所属专业</param>
 /// <param name="college">学生所属学院</param>
 public Student(string stuAccount, string stuPwd, string realName, string sex, string phone, string email, int state, Profession profession, College college)
 {
     StuAccount      = stuAccount;
     StuPwd          = stuPwd;
     RealName        = realName;
     Sex             = sex;
     Phone           = phone;
     Email           = email;
     this.state      = state;
     this.profession = profession;
     this.college    = college;
 }
예제 #3
0
 /// <summary>
 /// 参数构造函数
 /// </summary>
 /// <param name="proId">专业编号</param>
 /// <param name="proName">专业名称</param>
 /// <param name="college">专业所属学院</param>
 public Profession(int proId, string proName, College college)
 {
     ProId        = proId;
     ProName      = proName;
     this.college = college;
 }
예제 #4
0
파일: Teacher.cs 프로젝트: 1768370097/PMS
 /// <summary>
 /// 有参构造函数
 /// </summary>
 /// <param name="teaAccount"></param>
 /// <param name="teaPwd"></param>
 /// <param name="teaName"></param>
 /// <param name="sex"></param>
 /// <param name="phone"></param>
 /// <param name="email"></param>
 /// <param name="college"></param>
 /// <param name="teaType"></param>
 public Teacher(string teaAccount, string teaPwd, string teaName, string sex, string phone, string email, College college, int teaType)
 {
     TeaAccount   = teaAccount;
     TeaPwd       = teaPwd;
     TeaName      = teaName;
     Sex          = sex;
     Phone        = phone;
     Email        = email;
     this.college = college;
     TeaType      = teaType;
 }
예제 #5
0
파일: Plan.cs 프로젝트: kmlihy/PMS
 /// <summary>
 /// 参数构造函数
 /// </summary>
 /// <param name="planId">选题批次编号</param>
 /// <param name="planName">选题批次名</param>
 /// <param name="startTime">选题开始时间</param>
 /// <param name="endTime">选题截止时间</param>
 /// <param name="state">批次状态0代表未激活,1代表激活</param>
 /// <param name="college">批次所属分院</param>
 public Plan(int planId, string planName, DateTime startTime, DateTime endTime, int state, College college)
 {
     PlanId       = planId;
     PlanName     = planName;
     StartTime    = startTime;
     EndTime      = endTime;
     State        = state;
     this.college = college;
 }