forked from luyan/epmet-cloud-lingshan
20 changed files with 400 additions and 27 deletions
@ -0,0 +1,21 @@ |
|||
package com.epmet.resi.mine.dto.from; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/11/3 4:18 下午 |
|||
*/ |
|||
@Data |
|||
public class OperListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1872129597916414752L; |
|||
|
|||
public interface OperList{} |
|||
|
|||
@NotBlank(message = "客户ID不能为空",groups = {OperList.class}) |
|||
private String customerId; |
|||
} |
@ -0,0 +1,46 @@ |
|||
package com.epmet.resi.mine.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/11/3 4:20 下午 |
|||
*/ |
|||
@Data |
|||
public class OperListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6185696177370545937L; |
|||
|
|||
/** |
|||
* 徽章ID |
|||
*/ |
|||
private String badgeId; |
|||
|
|||
/** |
|||
* 徽章名字 |
|||
*/ |
|||
private String badgeName; |
|||
|
|||
/** |
|||
* 点亮状态 yes:已点亮,no:未点亮 |
|||
*/ |
|||
private String isLighted; |
|||
|
|||
/** |
|||
* 是否认证 yes 认证 no 已认证 |
|||
*/ |
|||
private String isCertificated; |
|||
|
|||
/** |
|||
* 徽章图片地址 |
|||
*/ |
|||
private String badgeIcon; |
|||
|
|||
/** |
|||
* 是否被驳回 true:已驳回,false:未驳回 |
|||
*/ |
|||
private Boolean isReject; |
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/11/3 4:18 下午 |
|||
*/ |
|||
@Data |
|||
public class UserOperListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1872129597916414712L; |
|||
|
|||
private String userId; |
|||
|
|||
private String customerId; |
|||
|
|||
public UserOperListFormDTO(String userId, String customerId) { |
|||
this.userId = userId; |
|||
this.customerId = customerId; |
|||
} |
|||
|
|||
public UserOperListFormDTO() { |
|||
} |
|||
} |
@ -0,0 +1,62 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/11/3 4:20 下午 |
|||
*/ |
|||
@Data |
|||
public class UserOperListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6185696177370545937L; |
|||
|
|||
/** |
|||
* 徽章ID |
|||
*/ |
|||
private String badgeId; |
|||
|
|||
/** |
|||
* 徽章名字 |
|||
*/ |
|||
private String badgeName; |
|||
|
|||
/** |
|||
* 点亮状态 yes:已点亮,no:未点亮 |
|||
*/ |
|||
private String isLighted; |
|||
|
|||
/** |
|||
* 是否认证 yes 认证 no 已认证 |
|||
*/ |
|||
private String isCertificated; |
|||
|
|||
/** |
|||
* 徽章图片地址 |
|||
*/ |
|||
private String badgeIcon; |
|||
|
|||
/** |
|||
* 是否被驳回 true:已驳回,false:未驳回 |
|||
*/ |
|||
private Boolean isReject; |
|||
|
|||
@JsonIgnore |
|||
private String customerId; |
|||
@JsonIgnore |
|||
private String isOpened; |
|||
@JsonIgnore |
|||
private String auditStatus; |
|||
|
|||
public UserOperListResultDTO() { |
|||
this.badgeId = ""; |
|||
this.badgeName = ""; |
|||
this.isLighted = "no"; |
|||
this.isCertificated = "no"; |
|||
this.badgeIcon = ""; |
|||
this.isReject = false; |
|||
} |
|||
} |
Loading…
Reference in new issue