8 changed files with 259 additions and 0 deletions
@ -0,0 +1,59 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* 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. |
||||
|
* <p> |
||||
|
* 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. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 定制功能列表 入参 |
||||
|
* |
||||
|
* @author zhangyong |
||||
|
* @since v1.0.0 2020-08-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class FunctionCustomizedListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 功能名称 |
||||
|
*/ |
||||
|
private String customizedName; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 所属端 |
||||
|
*/ |
||||
|
private String fromApp; |
||||
|
|
||||
|
/** |
||||
|
* 页码,从1开始 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "页码必须大于0") |
||||
|
private Integer pageNo; |
||||
|
|
||||
|
/** |
||||
|
* 页容量,默认20页 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "每页条数必须大于必须大于0") |
||||
|
private Integer pageSize; |
||||
|
} |
||||
@ -0,0 +1,61 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 定制功能列表 返回值 |
||||
|
* |
||||
|
* @author zhangyong |
||||
|
* @since v1.0.0 2020-08-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class FunctionCustomizedListDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 功能ID(function.ID) |
||||
|
*/ |
||||
|
private String functionId; |
||||
|
|
||||
|
/** |
||||
|
* 上架状态:0:下架、1:上架 |
||||
|
*/ |
||||
|
private String shoppingStatus; |
||||
|
|
||||
|
/** |
||||
|
* 功能说明 |
||||
|
*/ |
||||
|
private String functionExplain; |
||||
|
|
||||
|
/** |
||||
|
* 默认名称 |
||||
|
*/ |
||||
|
private String customizedName; |
||||
|
|
||||
|
/** |
||||
|
* 默认大图标 |
||||
|
*/ |
||||
|
private String iconLargeImg; |
||||
|
|
||||
|
/** |
||||
|
* 默认小图标 |
||||
|
*/ |
||||
|
private String iconSmallImg; |
||||
|
|
||||
|
/** |
||||
|
* 外链地址 |
||||
|
*/ |
||||
|
private String targetLink; |
||||
|
|
||||
|
/** |
||||
|
* 业务域名 |
||||
|
*/ |
||||
|
private String domainName; |
||||
|
|
||||
|
/** |
||||
|
* 来源app(政府端:gov、居民端:resi) |
||||
|
*/ |
||||
|
private String fromApp; |
||||
|
} |
||||
@ -0,0 +1,29 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 定制功能列表 返回值 |
||||
|
* |
||||
|
* @author zhangyong |
||||
|
* @since v1.0.0 2020-08-14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class FunctionCustomizedListResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 列表总条数 |
||||
|
*/ |
||||
|
private Integer total; |
||||
|
|
||||
|
/** |
||||
|
* 列表内容 |
||||
|
*/ |
||||
|
private List<FunctionCustomizedListDTO> listDTOS; |
||||
|
|
||||
|
|
||||
|
} |
||||
Loading…
Reference in new issue