18 changed files with 426 additions and 1 deletions
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 查询客户定制功能角色列表--接口入参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerFunctionRoleListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "客户Id不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String customerId; |
|||
/** |
|||
* 定制功能ID |
|||
*/ |
|||
@NotBlank(message = "功能ID不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String functionId; |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 客户定制功能角色设置--接口入参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class RoleListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 角色Key |
|||
*/ |
|||
@NotBlank(message = "角色key不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String roleKey; |
|||
/** |
|||
* 角色名称 |
|||
*/ |
|||
@NotBlank(message = "角色名称不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String roleName; |
|||
public interface AddUserInternalGroup {} |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 客户定制功能角色设置--接口入参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class SaveCustomerFunctionRoleFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "客户Id不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String customerId; |
|||
/** |
|||
* 定制功能ID |
|||
*/ |
|||
@NotBlank(message = "功能ID不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String functionId; |
|||
/** |
|||
* 所属APP(工作端:gov、居民端:resi) |
|||
*/ |
|||
@NotBlank(message = "所属App不能为空", groups = {AddUserInternalGroup.class }) |
|||
private String fromApp; |
|||
/** |
|||
* 角色信息集合 |
|||
*/ |
|||
private List<RoleListFormDTO> roleList; |
|||
public interface AddUserInternalGroup {} |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.form.RoleListFormDTO; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 查询客户定制功能角色列表--接口返参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerFunctionRoleListResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2971689193155710437L; |
|||
|
|||
/** |
|||
* 角色Key |
|||
*/ |
|||
private String roleKey; |
|||
/** |
|||
* 角色名称 |
|||
*/ |
|||
private String roleName; |
|||
} |
@ -0,0 +1,46 @@ |
|||
/** |
|||
* 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.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 获取居民端、工作端人员角色列表--接口返参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class ResiGovRoleListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 居民端角色列表 |
|||
*/ |
|||
private List<ResiGovRoleResultDTO> resiRoleList; |
|||
|
|||
/** |
|||
* 工作端角色列表 |
|||
*/ |
|||
private List<ResiGovRoleResultDTO> govRoleList; |
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
/** |
|||
* 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.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 获取居民端、工作端人员角色列表--接口返参 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class ResiGovRoleResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 角色key |
|||
*/ |
|||
private String roleKey; |
|||
/** |
|||
* 角色名称 |
|||
*/ |
|||
private String roleName; |
|||
|
|||
} |
Loading…
Reference in new issue