提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.dal.dataobject.demo; |
H |
2 |
|
|
3 |
import lombok.*; |
|
4 |
import java.util.*; |
|
5 |
import java.time.LocalDateTime; |
|
6 |
import java.time.LocalDateTime; |
|
7 |
import com.baomidou.mybatisplus.annotation.*; |
|
8 |
import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
|
9 |
|
|
10 |
/** |
|
11 |
* 学生班主任 DO |
|
12 |
* |
|
13 |
* @author iailab |
|
14 |
*/ |
|
15 |
@TableName("infra_student_teacher") |
|
16 |
@KeySequence("infra_student_teacher_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
|
17 |
@Data |
|
18 |
@EqualsAndHashCode(callSuper = true) |
|
19 |
@ToString(callSuper = true) |
|
20 |
@Builder |
|
21 |
@NoArgsConstructor |
|
22 |
@AllArgsConstructor |
|
23 |
public class InfraStudentTeacherDO extends BaseDO { |
|
24 |
|
|
25 |
/** |
|
26 |
* 编号 |
|
27 |
*/ |
|
28 |
@TableId |
|
29 |
private Long id; |
|
30 |
/** |
|
31 |
* 学生编号 |
|
32 |
*/ |
|
33 |
private Long studentId; |
|
34 |
/** |
|
35 |
* 名字 |
|
36 |
*/ |
|
37 |
private String name; |
|
38 |
/** |
|
39 |
* 简介 |
|
40 |
*/ |
|
41 |
private String description; |
|
42 |
/** |
|
43 |
* 出生日期 |
|
44 |
*/ |
|
45 |
private LocalDateTime birthday; |
|
46 |
/** |
|
47 |
* 性别 |
|
48 |
* |
|
49 |
* 枚举 {@link TODO system_user_sex 对应的类} |
|
50 |
*/ |
|
51 |
private Integer sex; |
|
52 |
/** |
|
53 |
* 是否有效 |
|
54 |
* |
|
55 |
* 枚举 {@link TODO infra_boolean_string 对应的类} |
|
56 |
*/ |
|
57 |
private Boolean enabled; |
|
58 |
/** |
|
59 |
* 头像 |
|
60 |
*/ |
|
61 |
private String avatar; |
|
62 |
/** |
|
63 |
* 附件 |
|
64 |
*/ |
|
65 |
private String video; |
|
66 |
/** |
|
67 |
* 备注 |
|
68 |
*/ |
|
69 |
private String memo; |
|
70 |
|
|
71 |
} |