feat:出生日期
This commit is contained in:
1 parent
a2623df7e2
commit
6e4aa1a2bb
20 files changed
+216
-21
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
package com.bsd.pjcloud.admin.api.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class SysAppUserModifyDto {
|
||||
|
||||
private Long userId;
|
||||
|
||||
@NotNull(message = "生日不能为空")
|
||||
private LocalDate birthday;
|
||||
|
||||
}
|
||||
+7
@@ -31,6 +31,7 @@ import org.javers.core.metamodel.annotation.DiffInclude;
|
||||
import org.javers.core.metamodel.annotation.PropertyName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
@@ -160,6 +161,12 @@ public class SysUser extends Model<SysUser> implements Serializable {
|
||||
@Schema(description = "头像地址")
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
@Schema(description = "生日")
|
||||
private LocalDate birthday;
|
||||
|
||||
/**
|
||||
* 部门ID
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user