schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 学生信息表
    /// </summary>
    [Comment("学生信息表")]
    [Table("test_students3")]
    public class TestStudent3 : DEntityBase
    {
        /// <summary>
        /// 学生姓名
        /// </summary>
        [Comment("学生姓名")]
        [MaxLength(10)]
        public string Name { get; set; }
 
        /// <summary>
        /// 学生年龄
        /// </summary>
        [Comment("学生年龄")]
        public int Age { get; set; }
 
 
        /// <summary>
        /// 零花钱
        /// </summary>
        [Comment("零花钱")]
        [Column("HasMoney", TypeName = "decimal(10,3)")]
        public decimal HasMoney { get; set; }
 
        /// <summary>
        /// 是否在校
        /// </summary>
        [Comment("是否在校")]
        [MaxLength(50)]
        public bool StartName { get; set; }
 
 
        /// <summary>
        /// 性别
        /// </summary>
        [Comment("性别")]
        public GenderChinese Gender { get; set; }
 
        /// <summary>
        /// 出生日期
        /// </summary>
        [Comment("出生日期")]
        public DateTime BrithDate { get; set; }
 
    }
}