From 9e42f113747fadd00dbc1be88ca07edd65658555 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Tue, 27 Oct 2020 16:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=8F=90=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/dto/form/StaffBasicInfoFromDTO.java | 21 +++++++ .../epmet/dto/result/BasicInfoResultDTO.java | 55 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffBasicInfoFromDTO.java create mode 100644 epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/BasicInfoResultDTO.java diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffBasicInfoFromDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffBasicInfoFromDTO.java new file mode 100644 index 0000000000..4ade21f08b --- /dev/null +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffBasicInfoFromDTO.java @@ -0,0 +1,21 @@ +package com.epmet.dto.form; + +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +/** + * @author sun + * @dscription + */ + +@Data +public class StaffBasicInfoFromDTO implements Serializable { + private static final long serialVersionUID = 1L; + /** + * 用户ID + */ + @NotBlank(message = "staffId不能为空") + String staffId; +} diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/BasicInfoResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/BasicInfoResultDTO.java new file mode 100644 index 0000000000..1796a3302f --- /dev/null +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/BasicInfoResultDTO.java @@ -0,0 +1,55 @@ +package com.epmet.dto.result; + +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.io.Serializable; +import java.util.List; + +/** + * @author zhaoqifeng + * @dscription + * @date 2020/5/22 16:52 + */ +@NoArgsConstructor +@Data +public class BasicInfoResultDTO implements Serializable { + + private static final long serialVersionUID = 8987281818368677411L; + /** + * 工作人员id,后台userId + */ + private String staffId; + /** + * 头像 + */ + private String staffHeadPhoto; + /** + * 真实姓名 + */ + private String realName; + /** + * 性别0未知,1男2女 + */ + private Integer gender; + /** + * 手机号 + */ + private String mobile; + /** + * 未禁用enable,已禁用disabled + */ + private String enableFlag; + /** + * inactive未激活,active已激活 + */ + private String activeFlag; + /** + * 激活时间 + */ + private String activeTime; + /** + * fulltime专职parttime兼职 + */ + private String workType; +}