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
| using Microsoft.EntityFrameworkCore;
| using System.ComponentModel.DataAnnotations;
| using System.ComponentModel.DataAnnotations.Schema;
|
| /*
| * @author : shaocx
| * @date : 2024/4/19下午3:13:43
| * @desc : 测试学生表
| */
| namespace Admin.NET.Core
| {
| /// <summary>
| /// 测试学生表
| /// </summary>
| [Table("test_student5")]
| [Comment("测试学生表")]
| public class TestStudent5 : DEntityBase
| {
|
| /// <summary>
| /// 姓名
| /// </summary>
| [Comment("姓名")]
| [MaxLength(50)]
| public string Name { get; set; }
|
|
| /// <summary>
| /// 年龄
| /// </summary>
| [Comment("年龄")]
|
| public int? Age { get; set; }
|
| }
| }
|
|