singleproblem.cs

来自「.net环境下的在线考试系统」· CS 代码 · 共 71 行

CS
71
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace ExamModel.Auto_Generated_Code
{
    public class SingleProblem
    {
        /// <summary>
        /// 单选题模型
        /// </summary>
        private int SingleProblemID;
        private Course scourse;
        private string Title=String.Empty;
        private string AnswerA = String.Empty;
        private string AnswerB = String.Empty;
        private string AnswerC = String.Empty;
        private string AnswerD = String.Empty;
        private string Answer = String.Empty;
        
        //单选题主键
        public int SsingleProblemID
        {
            get { return this.SingleProblemID; }
            set { this.SingleProblemID = value; }
        }
        //课程ID
        public Course SCourse
        {
            get { return this.scourse; }
            set { this.scourse = value; }
        }
        //单选题目
        public string STitle
        {
            get { return this.Title; }
            set { this.Title = value; }
        }
        //单选题答案A
        public string SanswerA
        {
            get { return this.AnswerA; }
            set { this.AnswerA = value; }
        }
        //单选题答案B
        public string SanswerB
        {
            get { return this.AnswerB; }
            set { this.AnswerB = value; }
        }
        //单选题答案C
        public string SanswerC
        {
            get { return this.AnswerC; }
            set { this.AnswerC = value; }
        }
        //单选题答案D
        public string SanswerD
        {
            get { return this.AnswerD; }
            set { this.AnswerD = value; }
        }
        //单选题正确答案
        public string Sanswer
        {
            get { return this.Answer; }
            set { this.Answer = value; }
        }
    }
}

⌨️ 快捷键说明

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