From f0f00e9ba8a755e4317e029d73b69a92ad9f9df1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Sat, 14 Sep 2024 17:02:41 +0800
Subject: [PATCH] update
---
exam-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/exam-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java b/exam-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java
index da4d52a..39eb122 100644
--- a/exam-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java
+++ b/exam-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java
@@ -39,6 +39,7 @@
private Long id;
@NotBlank(message = "登录账号不能为空")
+ @Length(min = 2, message = "登录账号长度不正确")
@ApiModelProperty(value = "登录账号",required = true)
@TableField("username")
private String username;
@@ -73,6 +74,7 @@
private Long companyId;
@NotBlank(message = "密码不能为空")
+ @Length(min = 2, message = "密码长度不正确")
@ApiModelProperty(value = "密码",required = true)
@TableField("password")
private String password;
@@ -106,8 +108,13 @@
@TableField(exist = false)
private String companyName;
+ @ApiModelProperty("剩余课时(分)")
+ @TableField(exist = false)
+ private Long remainPeriod;
+
@ApiModelProperty("父级账号名称")
@TableField(exist = false)
private String parentName;
+
}
--
Gitblit v1.9.2