schangxiang@126.com
2025-05-15 a4ef198bd3dda672ae6190ee82f7df24c282d5d7
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
using CMS.Plugin.HIAWms.Domain.Shared.Enums;
using CMS.Plugin.HIAWms.Domain.Shared.TestStudent;
using CMS.Plugin.MyExtension.Domain;
using CmsQueryExtensions.Extension;
using MathNet.Numerics;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System.ComponentModel.DataAnnotations;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
 
namespace CMS.Plugin.HIAWms.Domain.TestStudent
{
    /// <summary>
    /// TestStudent
    /// </summary>
    public class TestStudent : MyFullAuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 重复性校验方式
        /// </summary>
        /// 
        [Comment("重复性校验方式")]
        [Column("WorkingHours",)]
        [SugarColumn(ColumnName = "RepCheckType", ColumnDescription = "重复性校验方式")]
        public string? RepCheckType { get; set; }
 
 
        /// <summary>
        /// 老师ID(可空)
        /// </summary>
        [SugarColumn(ColumnName = "TeacherId", ColumnDescription = "老师ID(可空)")]
        public long? TeacherId { get; set; }
 
        /// <summary>
        /// 老师名字(可空)
        /// </summary>
        [SugarColumn(ColumnName = "TeacherName", ColumnDescription = "老师名字(可空)")]
        public string? TeacherName { get; set; }
 
        /// <summary>
        /// 学生姓名
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Name", ColumnDescription = "学生姓名", Length = 2000)]
        public string Name { get; set; }
 
        /// <summary>
        /// 别名(可空)
        /// </summary>
        [SugarColumn(ColumnName = "AliName", ColumnDescription = "别名(可空)", Length = 2000)]
        public string? AliName { get; set; }
 
        /// <summary>
        /// 学生年龄
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Age", ColumnDescription = "学生年龄")]
        public int Age { get; set; }
 
        /// <summary>
        /// 年纪(可空)
        /// </summary>
        [SugarColumn(ColumnName = "NianJi", ColumnDescription = "年纪(可空)")]
        public int? NianJi { get; set; }
 
 
 
        /// <summary>
        /// 校长ID(可空)
        /// </summary>
        [SugarColumn(ColumnName = "RectorId", ColumnDescription = "校长ID(可空)")]
        public long? RectorId { get; set; }
 
        /// <summary>
        /// 零花钱
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "HasMoney", ColumnDescription = "零花钱", Length = 10, DecimalDigits = 3)]
        public decimal HasMoney { get; set; }
 
        /// <summary>
        /// 身价(可空)
        /// </summary>
        [SugarColumn(ColumnName = "ShenJia", ColumnDescription = "身价(可空)", Length = 10, DecimalDigits = 3)]
        public decimal? ShenJia { get; set; }
 
        /// <summary>
        /// 是否在校
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "IsInSchool", ColumnDescription = "是否在校")]
        public bool IsInSchool { get; set; }
 
        /// <summary>
        /// 是否外地人(可空)
        /// </summary>
        [SugarColumn(ColumnName = "IsWDR", ColumnDescription = "是否外地人(可空)")]
        public bool? IsWDR { get; set; }
 
        /// <summary>
        /// 性别
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Gender", ColumnDescription = "性别")]
        public GenderEnum Gender { get; set; }
 
        /// <summary>
        /// 其他性别(可空)
        /// </summary>
        [SugarColumn(ColumnName = "OtherGender", ColumnDescription = "其他性别(可空)")]
        public GenderEnum? OtherGender { get; set; }
 
        /// <summary>
        /// 出生日期
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "BrithDate", ColumnDescription = "出生日期")]
        public DateTime BrithDate { get; set; }
 
        /// <summary>
        /// 入学日期(可空)
        /// </summary>
        [SugarColumn(ColumnName = "InSchoolDate", ColumnDescription = "入学日期(可空)")]
        public DateTime? InSchoolDate { get; set; }
 
    }
}