UserAnswer.cs
2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
using System;
using System.Collections.Generic;
using System.Text;
namespace Quiz.Models
{
public class UserAnswer
{
public int ID { get; set; }
public string SchoolName { get; set; }
public string ClassName { get; set; }
public string StudentName { get; set; }
public string ParentName { get; set; }
public string PhoneName { get; set; }
public int UserId { get; set; }
public string Keys { get; set; }
public int State { get; set; }
public DateTime Intime { get; set; }
public int UserType { get; set; }
public string schoolType { get; set; }
}
public enum UserTypeEnum
{
学生家长=0,
社会人士=1
}
public class DataKanbans
{
public List<schoolTypeM> TotalSchoolCount { get; set; }
public List<schoolTypeM> SchoolTypesList { get; set; }
/// <summary>
/// 今日回收率
/// </summary>
public List<schoolRecovery> SchoolDayCount { get; set; }
/// <summary>
/// 累计回收率
/// </summary>
public List<schoolRecovery> SchoolCount { get; set; }
/// <summary>
/// 邀请总人数
/// </summary>
public decimal TotalCount { get; set; }
/// <summary>
/// 今日调查人数
/// </summary>
public decimal dayRCount { get; set; }
/// <summary>
/// 今日回收率
/// </summary>
public decimal dayRecovery { get; set; }
/// <summary>
/// 累计调查人数
/// </summary>
public decimal TotalRCount { get; set; }
/// <summary>
/// 总回收率
/// </summary>
public decimal TotalRecovery { get; set; }
}
public class schoolTypeM
{
public string schoolType { get; set; }
public int schoolCount { get; set; }
}
public class schoolRecovery
{
public string schoolName{get;set;}
public int schoolcount { get; set; }
public int RecoveryCount { get;set; }
public decimal Recovery { get; set; }
public string schoolType { get; set; }
public string Intime { get; set; }
}
}