11 changed files with 297 additions and 1 deletions
@ -0,0 +1,35 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 查询客户定制功能列表-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class FunctionDetailFromDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6163303184086480522L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@NotBlank(message = "客户Id不能为空", groups = {AddUserShowGroup.class}) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* resi:居民端,work:工作端 |
|||
*/ |
|||
@NotBlank(message = "所属端不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String clientType; |
|||
|
|||
} |
@ -0,0 +1,56 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 查询客户定制功能列表-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class FunctionVisitedFromDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6163303184086480522L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
/** |
|||
* 用户Id |
|||
*/ |
|||
private String userId; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 所属端 |
|||
*/ |
|||
@NotBlank(message = "所属端不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String clientType; |
|||
/** |
|||
* 功能Id |
|||
*/ |
|||
@NotBlank(message = "功能Id不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String functionId; |
|||
/** |
|||
* 请求地址 |
|||
*/ |
|||
@NotBlank(message = "请求地址不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String url; |
|||
/** |
|||
* 结果 |
|||
*/ |
|||
@NotBlank(message = "结果不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String result; |
|||
/** |
|||
* 原因 |
|||
*/ |
|||
private String msg; |
|||
|
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
|
|||
/** |
|||
* 查询客户定制功能列表-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class FunctionDetailResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2971689193155710437L; |
|||
|
|||
/** |
|||
* 功能Id |
|||
*/ |
|||
private String functionId; |
|||
|
|||
/** |
|||
* 自定义功能名称 |
|||
*/ |
|||
private String functionName; |
|||
|
|||
/** |
|||
* 自定义大图标 |
|||
*/ |
|||
private String iconLargeImg; |
|||
|
|||
/** |
|||
* 自定义小图标 |
|||
*/ |
|||
private String iconSmallImg; |
|||
|
|||
/** |
|||
* 请求地址(https://+业务域名+外链地址)
|
|||
*/ |
|||
private String url; |
|||
|
|||
/** |
|||
* 自定义排序 |
|||
*/ |
|||
private String dispalyOrder; |
|||
|
|||
/** |
|||
* 自定义json(目前是空值) |
|||
*/ |
|||
private ArrayList customerParameter; |
|||
} |
Loading…
Reference in new issue