People.cs 1.24 KB
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace Quiz.Models.Domain
{
    public class People
    {
        public int Id { get; set; }
        public string Keys { get; set; }
        public int SchoolId { get; set; }
        public string SchoolName { get; set; }
        public string iPhone { get; set; }
        public string iName { get; set; }
        public int CorrectNum { get; set; }
        public int Source { get; set; }
        public string OpenId { get; set; }
        public DateTime Intime { get; set; }
        public string AreaCode { get; set; }
        public string AreaName { get; set; }
        public string CityName { get; set; }
        public string AnswerFrom { get; set; }

        public string XueyuanName { get; set; }
        public string Xiebie { get; set; }
        public string ClassName { get; set; }
    }

    [XmlRoot("Answers")]
    public class TopicKeyTypes
    {
        [XmlElement("TopicKeys")]
        public List<TopicKeys> KeyList { get; set; } 
    }
    public class TopicKeys
    {
        [XmlElement("TopicId")]
        public int TopicId { get; set; }
        [XmlElement("Keys")]
        public string Keys { get; set; }
    }
}