using System;
using System.Data;
using System.Configuration;

namespace core.BusinessObject
{
    /// <summary>
    /// Papers 的摘要说明
    /// </summary>
    public class Subject
    {
        public Subject()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }

        public Subject(string subjectID, string courseName, string themeName, string subjectContent, string subjectAnswer, string courseChapter, string difficultFactor,int id)
        {
            this._subjectID = subjectID;
            this._courseName = courseName;
            this._themeName = themeName;
            this._subjectContent = subjectContent;
            this._subjectAnswer = subjectAnswer;
            this._courseChapter = courseChapter;
            this._difficultFactor = difficultFactor;
            this.id = id;
        }

        public Subject(string subjectID, string courseName, string themeName, string subjectContent, string subjectAnswer, string courseChapter, string difficultFactor)
        {
            this._subjectID = subjectID;
            this._courseName = courseName;
            this._themeName = themeName;
            this._subjectContent = subjectContent;
            this._subjectAnswer = subjectAnswer;
            this._courseChapter = courseChapter;
            this._difficultFactor = difficultFactor;
        }

        private string _subjectID;
        private string _courseName;
        private string _themeName;
        private string _subjectContent;
        private string _subjectAnswer;
        private string _courseChapter;
        private string _difficultFactor;
        private int id;

        public string SubjectID
        {
            get { return _subjectID; }
            set { _subjectID = value; }
        }

        public string CourseName
        {
            get { return _courseName; }
            set { _courseName = value; }
        }

        public string ThemeName
        {
            get { return _themeName; }
            set { _themeName = value; }
        }

        public string SubjectContent
        {
            get { return _subjectContent; }
            set { _subjectContent = value; }
        }

        public string SubjectAnswer
        {
            get { return _subjectAnswer; }
            set { _subjectAnswer = value; }
        }

        public string CourseChapter
        {
            get { return _courseChapter; }
            set { _courseChapter = value; }
        }

        public string DifficultFactor
        {
            get { return _difficultFactor; }
            set { _difficultFactor = value; }
        }

        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
    }
}
