[Back]

namespace AdefWebserver.Modules.SimpleSurvey
{
    public class SurveyItem
    {
        private int _SurveyDataItemID;
        private string _ItemName;
        private string _ItemTypeName;
        private string _ItemValue;
        private bool _Required = false;

        //  initialization
        public SurveyItem()
        {
        }

        //  public properties
        public string ItemName
        {
            get
            {
                return _ItemName;
            }
            set
            {
                _ItemName = value;
            }
        }

        public string ItemTypeName
        {
            get
            {
                return _ItemTypeName;
            }
            set
            {
                _ItemTypeName = value;
            }
        }

        public string ItemValue
        {
            get
            {
                return _ItemValue;
            }
            set
            {
                _ItemValue = value;
            }
        }

        public int SurveyDataItemID
        {
            get
            {
                return _SurveyDataItemID;
            }
            set
            {
                _SurveyDataItemID = value;
            }
        }

        public bool Required
        {
            get
            {
                return _Required;
            }
            set
            {
                _Required = value;
            }
        }
    }
}