Exemple #1
0
 /// <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="profession">学生所属专业</param>
 /// <param name="college">学生所属学院</param>
 public Student(string stuAccount, string stuPwd, string realName, string sex, string phone, string email, Profession profession, College college)
 {
     StuAccount      = stuAccount;
     StuPwd          = stuPwd;
     RealName        = realName;
     Sex             = sex;
     Phone           = phone;
     Email           = email;
     this.profession = profession;
     this.college    = college;
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="titleId">题目id</param>
 /// <param name="title">题目标题</param>
 /// <param name="titleContent">题目内容</param>
 /// <param name="createTime">添加时间</param>
 /// <param name="selected">已选人数</param>
 /// <param name="limit">题目限制选择人数</param>
 /// <param name="plan">批次表</param>
 /// <param name="teacher">教师表</param>
 /// <param name="profession">专业表</param>
 public Title(int titleId, string title, string titleContent, DateTime createTime, int selected, int limit, Plan plan, Teacher teacher, Profession profession)
 {
     TitleId         = titleId;
     this.title      = title;
     TitleContent    = titleContent;
     CreateTime      = createTime;
     Selected        = selected;
     Limit           = limit;
     this.plan       = plan;
     this.teacher    = teacher;
     this.profession = profession;
 }