forked from rongchao/epmet-cloud-rizhao
10 changed files with 436 additions and 37 deletions
@ -0,0 +1,38 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author zhaoqifeng |
|||
* @Date 2022/6/22 14:16 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ConfirmListFormDTO extends PageFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3784221830789219648L; |
|||
private String customerId; |
|||
private String agencyId; |
|||
private String staffId; |
|||
private String name; |
|||
private String mobile; |
|||
private String idCard; |
|||
/** |
|||
* 迁出类型 |
|||
*/ |
|||
private String submitType; |
|||
/** |
|||
* 审核状态 |
|||
*/ |
|||
private String confirmResult; |
|||
private String gridId; |
|||
private String villageId; |
|||
private String buildId; |
|||
private String unitId; |
|||
private String homeId; |
|||
} |
|||
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author zhaoqifeng |
|||
* @Date 2022/6/22 14:27 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class ConfirmListResultDTO { |
|||
private String id; |
|||
private String name; |
|||
private String gender; |
|||
private String mobile; |
|||
private String idCard; |
|||
private String gridId; |
|||
private String gridName; |
|||
private String homeId; |
|||
private String homeName; |
|||
private String submitType; |
|||
private String newHomeName; |
|||
private String confirmResult; |
|||
} |
|||
@ -0,0 +1,40 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author zhaoqifeng |
|||
* @Date 2022/6/22 16:15 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class MoveOutDetailResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -8151267925780583596L; |
|||
private String id; |
|||
private String icResiUserId; |
|||
private String name; |
|||
private String mobile; |
|||
private String idCard; |
|||
private String gridId; |
|||
private String gridName; |
|||
private String villageName; |
|||
private String buildName; |
|||
private String unitName; |
|||
private String homeId; |
|||
private String homeName; |
|||
private String outType; |
|||
private String newGridName; |
|||
private String newHomeName; |
|||
private String moveOutDate; |
|||
private String deleteReason; |
|||
private String confirmResult; |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date createdTime; |
|||
private String reason; |
|||
} |
|||
@ -0,0 +1,54 @@ |
|||
package com.epmet.enums; |
|||
|
|||
import java.util.Objects; |
|||
|
|||
/** |
|||
* @author Administrator |
|||
*/ |
|||
|
|||
public enum UserConfirmEnum { |
|||
//审核状态
|
|||
AUDITING("0", "未审核"), |
|||
PASSED("1", "已通过"), |
|||
REJECT("2", "未通过"), |
|||
ADD("add", "新增"), |
|||
UPDATE("update", "修改"), |
|||
OUT("out", "迁至客户外"), |
|||
IN("in", "迁至客户内"), |
|||
; |
|||
|
|||
private String code; |
|||
private String name; |
|||
|
|||
|
|||
UserConfirmEnum(String code, String name) { |
|||
this.code = code; |
|||
this.name = name; |
|||
} |
|||
|
|||
public static String getName(String code) { |
|||
UserConfirmEnum[] userConfirmEnums = values(); |
|||
for (UserConfirmEnum userConfirmEnum : userConfirmEnums) { |
|||
if (Objects.equals(userConfirmEnum.getCode(), code)) { |
|||
return userConfirmEnum.getName(); |
|||
} |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue