diff --git a/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/UserInfoDTO.java b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/UserInfoDTO.java new file mode 100644 index 0000000..90cfd37 --- /dev/null +++ b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/UserInfoDTO.java @@ -0,0 +1,122 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.elink.esua.epdc.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 用户信息表 用户信息表 + * + * @author qu qu@elink-cn.com + * @since v1.0.0 2021-08-31 + */ +@Data +public class UserInfoDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 标识号 + */ + private String id; + + /** + * 用户ID + */ + private String userId; + + /** + * 头像地址 + */ + private String headUrl; + + /** + * 名字 + */ + private String realName; + + /** + * 电话 + */ + private String mobile; + + /** + * 部门名称 + */ + private String deptName; + + /** + * 格言 + */ + private String motto; + + /** + * 承诺 + */ + private String promise; + + /** + * 服务范围 + */ + private String serviceArea; + + /** + * 推荐标识 0-否,1-是 + */ + private String recommendFlag; + + /** + * 推荐时间 + */ + private Date recommendTime; + + /** + * 删除标识 0-否,1-是 + */ + private String delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + + +} \ No newline at end of file diff --git a/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppIdentityDetailFormDTO.java b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppIdentityDetailFormDTO.java new file mode 100644 index 0000000..419350f --- /dev/null +++ b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppIdentityDetailFormDTO.java @@ -0,0 +1,22 @@ +package com.elink.esua.epdc.dto.epdc.form; + +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +/** + * create by: zhangfenghe + * description: 亮身份详情 + * create time: 2021/8/31$ 14:57$ + */ +@Data +public class EpdcAppIdentityDetailFormDTO implements Serializable { + private static final long serialVersionUID = -951939570282533218L; + + /** + *用户id + */ + @NotBlank(message = "用户id不能为空") + private String userId; +} diff --git a/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppShowIdentityFormDTO.java b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppShowIdentityFormDTO.java index ad58b6e..3caa982 100644 --- a/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppShowIdentityFormDTO.java +++ b/epdc-cloud-user-client/src/main/java/com/elink/esua/epdc/dto/epdc/form/EpdcAppShowIdentityFormDTO.java @@ -1,7 +1,9 @@ package com.elink.esua.epdc.dto.epdc.form; import lombok.Data; +import lombok.NonNull; +import javax.validation.constraints.NotBlank; import java.io.Serializable; /** @@ -17,6 +19,7 @@ public class EpdcAppShowIdentityFormDTO implements Serializable { /** *用户ID */ + @NotBlank(message = "用户id不为空") private String userId; /**