Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-merchant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ef348ecc
authored
Jul 22, 2021
by
wangnb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
账户体系账户类型、角色管理注解添加--think.wang
1 parent
cc9df287
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
85 additions
and
16 deletions
src/main/java/cn/com/glsx/merchants/request/FunctionRequest.java
src/main/java/cn/com/glsx/merchants/request/ProductRequest.java
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeDeleteRequest.java
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeInsertRequest.java
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeListSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeUpdateRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleAccountTypeRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleDeleteRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleInsertRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleListSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/role/RoleUpdateRequest.java
src/main/java/cn/com/glsx/merchants/response/AccountTypeResponse.java
src/main/java/cn/com/glsx/merchants/response/FunctionRelationResponse.java
src/main/java/cn/com/glsx/merchants/response/ProductRelationResponse.java
src/main/java/cn/com/glsx/merchants/response/RoleAccountTypeResponse.java
src/main/java/cn/com/glsx/merchants/response/RoleResponse.java
src/main/java/cn/com/glsx/merchants/request/FunctionRequest.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
request
;
package
cn
.
com
.
glsx
.
merchants
.
request
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -16,16 +17,19 @@ public class FunctionRequest implements Serializable {
...
@@ -16,16 +17,19 @@ public class FunctionRequest implements Serializable {
/**
/**
* 功能id
* 功能id
*/
*/
@ApiModelProperty
(
name
=
"id"
,
notes
=
"功能id"
,
dataType
=
"Integer"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 父级菜单id
* 父级菜单id
*/
*/
@ApiModelProperty
(
name
=
"menuId"
,
notes
=
"父级菜单id"
,
dataType
=
"Integer"
)
private
Integer
menuId
;
private
Integer
menuId
;
/**
/**
* 选中的功能值
* 选中的功能值
*/
*/
@ApiModelProperty
(
name
=
"functionValue"
,
notes
=
"选中的功能值"
,
dataType
=
"String"
)
private
String
functionValue
;
private
String
functionValue
;
}
}
src/main/java/cn/com/glsx/merchants/request/ProductRequest.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
request
;
package
cn
.
com
.
glsx
.
merchants
.
request
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -17,16 +18,19 @@ public class ProductRequest implements Serializable {
...
@@ -17,16 +18,19 @@ public class ProductRequest implements Serializable {
/**
/**
* 产品id
* 产品id
*/
*/
@ApiModelProperty
(
name
=
"productId"
,
notes
=
"产品id"
,
dataType
=
"Integer"
)
private
Integer
productId
;
private
Integer
productId
;
/**
/**
* 菜单id列表
* 菜单id列表
*/
*/
@ApiModelProperty
(
name
=
"menuIdList"
,
notes
=
"菜单id列表"
,
dataType
=
"List"
)
private
List
<
Integer
>
menuIdList
;
private
List
<
Integer
>
menuIdList
;
/**
/**
* 选中的功能
值
* 选中的功能
id列表
*/
*/
@ApiModelProperty
(
name
=
"functionIdList"
,
notes
=
"选中的功能id列表"
,
dataType
=
"List"
)
private
List
<
FunctionRequest
>
functionIdList
;
private
List
<
FunctionRequest
>
functionIdList
;
}
}
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeDeleteRequest.java
View file @
ef348ec
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
public
class
AccountTypeDeleteRequest
extends
DefaultRequest
{
public
class
AccountTypeDeleteRequest
extends
DefaultRequest
{
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeInsertRequest.java
View file @
ef348ec
...
@@ -15,12 +15,13 @@ public class AccountTypeInsertRequest extends AbstractRopRequest {
...
@@ -15,12 +15,13 @@ public class AccountTypeInsertRequest extends AbstractRopRequest {
* 账户类型名称
* 账户类型名称
*/
*/
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"账户类型名称"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"账户类型名称"
,
required
=
true
,
name
=
"accounttypeName"
,
dataType
=
"String"
)
private
String
accounttypeName
;
private
String
accounttypeName
;
/**
/**
* 描述
* 描述
*/
*/
@ApiModelProperty
(
notes
=
"描述"
,
name
=
"accounttypeDetail"
,
dataType
=
"String"
)
private
String
accounttypeDetail
;
private
String
accounttypeDetail
;
/**
/**
...
@@ -41,11 +42,13 @@ public class AccountTypeInsertRequest extends AbstractRopRequest {
...
@@ -41,11 +42,13 @@ public class AccountTypeInsertRequest extends AbstractRopRequest {
/**
/**
* 是否删除:0=正常,-1=删除 1.草稿
* 是否删除:0=正常,-1=删除 1.草稿
*/
*/
@ApiModelProperty
(
notes
=
"状态"
,
dataType
=
"Byte"
,
name
=
"delFlag"
,
required
=
true
)
private
Byte
delFlag
;
private
Byte
delFlag
;
/**
/**
* 功能关系数据
* 功能关系数据
*/
*/
@ApiModelProperty
(
notes
=
"产品菜单关系数据列表"
,
dataType
=
"List"
,
name
=
"requestList"
,
required
=
true
)
private
List
<
ProductRequest
>
requestList
;
private
List
<
ProductRequest
>
requestList
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeListSearchRequest.java
View file @
ef348ec
...
@@ -12,20 +12,21 @@ public class AccountTypeListSearchRequest extends AbstractRopRequest {
...
@@ -12,20 +12,21 @@ public class AccountTypeListSearchRequest extends AbstractRopRequest {
/**
/**
* 账户类型名称
* 账户类型名称
*/
*/
@ApiModelProperty
(
notes
=
"账户类型名称"
)
@ApiModelProperty
(
notes
=
"账户类型名称"
,
name
=
"accounttypeName"
,
dataType
=
"String"
)
private
String
accounttypeName
;
private
String
accounttypeName
;
/**
/**
* 是否删除:0=正常,-1=删除 1.草稿
* 是否删除:0=正常,-1=删除 1.草稿
*/
*/
@ApiModelProperty
(
notes
=
"状态"
,
name
=
"delFlag"
,
dataType
=
"Byte"
)
private
Byte
delFlag
;
private
Byte
delFlag
;
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"分页数"
)
@ApiModelProperty
(
notes
=
"分页数"
,
name
=
"pageSize"
,
dataType
=
"Integer"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"当前页"
)
@ApiModelProperty
(
notes
=
"当前页"
,
name
=
"pageNum"
,
dataType
=
"Integer"
)
private
Integer
pageNum
;
private
Integer
pageNum
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeSearchRequest.java
View file @
ef348ec
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
public
class
AccountTypeSearchRequest
extends
AbstractRopRequest
{
public
class
AccountTypeSearchRequest
extends
AbstractRopRequest
{
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/accounttype/AccountTypeUpdateRequest.java
View file @
ef348ec
...
@@ -2,23 +2,30 @@ package cn.com.glsx.merchants.request.accounttype;
...
@@ -2,23 +2,30 @@ package cn.com.glsx.merchants.request.accounttype;
import
cn.com.glsx.merchants.request.ProductRequest
;
import
cn.com.glsx.merchants.request.ProductRequest
;
import
com.rop.AbstractRopRequest
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
import
java.util.List
;
@Data
@Data
public
class
AccountTypeUpdateRequest
extends
AbstractRopRequest
{
public
class
AccountTypeUpdateRequest
extends
AbstractRopRequest
{
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 账户类型名称
* 账户类型名称
*/
*/
@NotNull
@ApiModelProperty
(
notes
=
"账户类型名称"
,
required
=
true
,
name
=
"accounttypeName"
,
dataType
=
"String"
)
private
String
accounttypeName
;
private
String
accounttypeName
;
/**
/**
* 描述
* 描述
*/
*/
@ApiModelProperty
(
notes
=
"描述"
,
name
=
"accounttypeDetail"
,
dataType
=
"String"
)
private
String
accounttypeDetail
;
private
String
accounttypeDetail
;
/**
/**
...
@@ -34,6 +41,7 @@ public class AccountTypeUpdateRequest extends AbstractRopRequest {
...
@@ -34,6 +41,7 @@ public class AccountTypeUpdateRequest extends AbstractRopRequest {
/**
/**
* 是否删除:0=正常,-1=删除 1.草稿
* 是否删除:0=正常,-1=删除 1.草稿
*/
*/
@ApiModelProperty
(
notes
=
"状态"
,
dataType
=
"Byte"
,
name
=
"delFlag"
,
required
=
true
)
private
Byte
delFlag
;
private
Byte
delFlag
;
/**
/**
...
@@ -54,6 +62,7 @@ public class AccountTypeUpdateRequest extends AbstractRopRequest {
...
@@ -54,6 +62,7 @@ public class AccountTypeUpdateRequest extends AbstractRopRequest {
/**
/**
* 产品功能关系数据
* 产品功能关系数据
*/
*/
@ApiModelProperty
(
notes
=
"产品菜单关系数据列表"
,
dataType
=
"List"
,
name
=
"requestList"
,
required
=
true
)
private
List
<
ProductRequest
>
requestList
;
private
List
<
ProductRequest
>
requestList
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/java/cn/com/glsx/merchants/request/role/RoleAccountTypeRequest.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
request
.
role
;
package
cn
.
com
.
glsx
.
merchants
.
request
.
role
;
import
cn.com.glsx.merchants.request.ProductRequest
;
import
cn.com.glsx.merchants.request.ProductRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -18,11 +19,13 @@ public class RoleAccountTypeRequest implements Serializable {
...
@@ -18,11 +19,13 @@ public class RoleAccountTypeRequest implements Serializable {
/**
/**
* 账户类型id
* 账户类型id
*/
*/
@ApiModelProperty
(
name
=
"accounttypeId"
,
notes
=
"账户类型id"
,
dataType
=
"Integer"
)
private
Integer
accounttypeId
;
private
Integer
accounttypeId
;
/**
/**
* 产品列表
* 产品列表
*/
*/
@ApiModelProperty
(
name
=
"productList"
,
notes
=
"产品列表"
,
dataType
=
"List"
)
private
List
<
ProductRequest
>
productList
;
private
List
<
ProductRequest
>
productList
;
}
}
src/main/java/cn/com/glsx/merchants/request/role/RoleDeleteRequest.java
View file @
ef348ec
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
public
class
RoleDeleteRequest
extends
DefaultRequest
{
public
class
RoleDeleteRequest
extends
DefaultRequest
{
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/role/RoleInsertRequest.java
View file @
ef348ec
...
@@ -14,17 +14,20 @@ public class RoleInsertRequest extends AbstractRopRequest {
...
@@ -14,17 +14,20 @@ public class RoleInsertRequest extends AbstractRopRequest {
* 角色名称
* 角色名称
*/
*/
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"角色名称"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"角色名称"
,
name
=
"roleName"
,
required
=
true
)
private
String
roleName
;
private
String
roleName
;
/**
/**
* 角色描述
* 角色描述
*/
*/
@ApiModelProperty
(
notes
=
"角色描述"
,
name
=
"roleDescription"
)
private
String
roleDescription
;
private
String
roleDescription
;
/**
/**
* 所属商户id
* 所属商户id
*/
*/
@NotNull
@ApiModelProperty
(
name
=
"merchantId"
,
notes
=
"所属商户id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
merchantId
;
private
Integer
merchantId
;
/**
/**
...
@@ -40,6 +43,7 @@ public class RoleInsertRequest extends AbstractRopRequest {
...
@@ -40,6 +43,7 @@ public class RoleInsertRequest extends AbstractRopRequest {
/**
/**
* 角色关联账户类型列表
* 角色关联账户类型列表
*/
*/
@ApiModelProperty
(
name
=
"requestList"
,
notes
=
"角色关联账户类型数据列表"
,
dataType
=
"List"
,
required
=
true
)
private
List
<
RoleAccountTypeRequest
>
requestList
;
private
List
<
RoleAccountTypeRequest
>
requestList
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/role/RoleListSearchRequest.java
View file @
ef348ec
...
@@ -12,21 +12,22 @@ public class RoleListSearchRequest extends AbstractRopRequest {
...
@@ -12,21 +12,22 @@ public class RoleListSearchRequest extends AbstractRopRequest {
/**
/**
* 角色名称
* 角色名称
*/
*/
@ApiModelProperty
(
notes
=
"角色名称"
,
name
=
"roleName"
,
dataType
=
"String"
)
private
String
roleName
;
private
String
roleName
;
/**
/**
* 所属商户id
* 所属商户id
*/
*/
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"所属商户id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"所属商户id"
,
name
=
"merchantId"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
merchantId
;
private
Integer
merchantId
;
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"分页数"
)
@ApiModelProperty
(
notes
=
"分页数"
,
name
=
"pageSize"
,
dataType
=
"Integer"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"当前页"
)
@ApiModelProperty
(
notes
=
"当前页"
,
name
=
"pageNum"
,
dataType
=
"Integer"
)
private
Integer
pageNum
;
private
Integer
pageNum
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/role/RoleSearchRequest.java
View file @
ef348ec
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
...
@@ -10,7 +10,7 @@ import javax.validation.constraints.NotNull;
public
class
RoleSearchRequest
extends
AbstractRopRequest
{
public
class
RoleSearchRequest
extends
AbstractRopRequest
{
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/request/role/RoleUpdateRequest.java
View file @
ef348ec
...
@@ -11,24 +11,27 @@ import java.util.List;
...
@@ -11,24 +11,27 @@ import java.util.List;
public
class
RoleUpdateRequest
extends
AbstractRopRequest
{
public
class
RoleUpdateRequest
extends
AbstractRopRequest
{
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"id"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 角色名称
* 角色名称
*/
*/
@NotNull
@NotNull
@ApiModelProperty
(
notes
=
"角色名称"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"角色名称"
,
name
=
"roleName"
,
required
=
true
)
private
String
roleName
;
private
String
roleName
;
/**
/**
* 角色描述
* 角色描述
*/
*/
@ApiModelProperty
(
notes
=
"角色描述"
,
name
=
"roleDescription"
)
private
String
roleDescription
;
private
String
roleDescription
;
/**
/**
* 所属商户id
* 所属商户id
*/
*/
@NotNull
@ApiModelProperty
(
name
=
"merchantId"
,
notes
=
"所属商户id"
,
dataType
=
"Integer"
,
required
=
true
)
private
Integer
merchantId
;
private
Integer
merchantId
;
/**
/**
...
@@ -54,6 +57,7 @@ public class RoleUpdateRequest extends AbstractRopRequest {
...
@@ -54,6 +57,7 @@ public class RoleUpdateRequest extends AbstractRopRequest {
/**
/**
* 角色关联账户类型列表
* 角色关联账户类型列表
*/
*/
@ApiModelProperty
(
name
=
"requestList"
,
notes
=
"角色关联账户类型数据列表"
,
dataType
=
"List"
,
required
=
true
)
private
List
<
RoleAccountTypeRequest
>
requestList
;
private
List
<
RoleAccountTypeRequest
>
requestList
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/response/AccountTypeResponse.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -9,61 +10,73 @@ import java.util.List;
...
@@ -9,61 +10,73 @@ import java.util.List;
@Data
@Data
public
class
AccountTypeResponse
implements
Serializable
{
public
class
AccountTypeResponse
implements
Serializable
{
@ApiModelProperty
(
notes
=
"id"
,
name
=
"id"
,
dataType
=
"Integer"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 账户类型名称
* 账户类型名称
*/
*/
@ApiModelProperty
(
notes
=
"账户类型名称"
,
name
=
"accounttypeName"
,
dataType
=
"String"
)
private
String
accounttypeName
;
private
String
accounttypeName
;
/**
/**
* 描述
* 描述
*/
*/
@ApiModelProperty
(
notes
=
"描述"
,
name
=
"accounttypeDetail"
,
dataType
=
"Integer"
)
private
String
accounttypeDetail
;
private
String
accounttypeDetail
;
/**
/**
* 创建人
* 创建人
*/
*/
@ApiModelProperty
(
notes
=
"创建人id"
,
name
=
"createdBy"
,
dataType
=
"Integer"
)
private
Integer
createdBy
;
private
Integer
createdBy
;
/**
/**
* 创建时间
* 创建时间
*/
*/
@ApiModelProperty
(
notes
=
"创建时间"
,
name
=
"createdTime"
,
dataType
=
"Date"
)
private
Date
createdTime
;
private
Date
createdTime
;
/**
/**
* 更新人
* 更新人
*/
*/
@ApiModelProperty
(
notes
=
"更新人id"
,
name
=
"updatedBy"
,
dataType
=
"Integer"
)
private
Integer
updatedBy
;
private
Integer
updatedBy
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@ApiModelProperty
(
notes
=
"更新时间"
,
name
=
"updatedTime"
,
dataType
=
"Date"
)
private
Date
updatedTime
;
private
Date
updatedTime
;
/**
/**
* 是否删除:0=正常,-1=删除 1.草稿
* 是否删除:0=正常,-1=删除 1.草稿
*/
*/
@ApiModelProperty
(
notes
=
"状态"
,
name
=
"delFlag"
,
dataType
=
"Byte"
)
private
Byte
delFlag
;
private
Byte
delFlag
;
/**
/**
* 账户类型编码
* 账户类型编码
*/
*/
@ApiModelProperty
(
notes
=
"账户类型编码"
,
name
=
"accounttypeCode"
,
dataType
=
"String"
)
private
String
accounttypeCode
;
private
String
accounttypeCode
;
/**
/**
* 创建账户
* 创建账户
*/
*/
@ApiModelProperty
(
notes
=
"创建账户"
,
name
=
"createdAccount"
,
dataType
=
"String"
)
private
String
createdAccount
;
private
String
createdAccount
;
/**
/**
* 更新账户
* 更新账户
*/
*/
@ApiModelProperty
(
notes
=
"更新账户"
,
name
=
"updatedAccount"
,
dataType
=
"String"
)
private
String
updatedAccount
;
private
String
updatedAccount
;
/**
/**
* 账户类型功能列表
* 账户类型功能列表
*/
*/
@ApiModelProperty
(
notes
=
"账户类型功能列表"
,
name
=
"responseList"
,
dataType
=
"List"
)
private
List
<
ProductRelationResponse
>
responseList
;
private
List
<
ProductRelationResponse
>
responseList
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/java/cn/com/glsx/merchants/response/FunctionRelationResponse.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -16,16 +17,19 @@ public class FunctionRelationResponse implements Serializable {
...
@@ -16,16 +17,19 @@ public class FunctionRelationResponse implements Serializable {
/**
/**
* 功能id
* 功能id
*/
*/
@ApiModelProperty
(
name
=
"id"
,
notes
=
"功能id"
,
dataType
=
"Integer"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 父级菜单id
* 父级菜单id
*/
*/
@ApiModelProperty
(
name
=
"menuId"
,
notes
=
"父级菜单id"
,
dataType
=
"Integer"
)
private
Integer
menuId
;
private
Integer
menuId
;
/**
/**
* 选中的功能值
* 选中的功能值
*/
*/
@ApiModelProperty
(
name
=
"functionValue"
,
notes
=
"选中的功能值"
,
dataType
=
"String"
)
private
String
functionValue
;
private
String
functionValue
;
}
}
src/main/java/cn/com/glsx/merchants/response/ProductRelationResponse.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -17,16 +18,19 @@ public class ProductRelationResponse implements Serializable {
...
@@ -17,16 +18,19 @@ public class ProductRelationResponse implements Serializable {
/**
/**
* 产品id
* 产品id
*/
*/
@ApiModelProperty
(
name
=
"productId"
,
notes
=
"产品id"
,
dataType
=
"Integer"
)
private
Integer
productId
;
private
Integer
productId
;
/**
/**
* 菜单id列表
* 菜单id列表
*/
*/
@ApiModelProperty
(
name
=
"menuIdList"
,
notes
=
"菜单id列表"
,
dataType
=
"List"
)
private
List
<
Integer
>
menuIdList
;
private
List
<
Integer
>
menuIdList
;
/**
/**
* 选中的功能
值
* 选中的功能
id列表
*/
*/
@ApiModelProperty
(
name
=
"functionIdList"
,
notes
=
"选中的功能id列表"
,
dataType
=
"List"
)
private
List
<
FunctionRelationResponse
>
functionIdList
;
private
List
<
FunctionRelationResponse
>
functionIdList
;
}
}
src/main/java/cn/com/glsx/merchants/response/RoleAccountTypeResponse.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -17,11 +18,13 @@ public class RoleAccountTypeResponse implements Serializable {
...
@@ -17,11 +18,13 @@ public class RoleAccountTypeResponse implements Serializable {
/**
/**
* 账户类型id
* 账户类型id
*/
*/
@ApiModelProperty
(
name
=
"accounttypeId"
,
notes
=
"账户类型id"
,
dataType
=
"Integer"
)
private
Integer
accounttypeId
;
private
Integer
accounttypeId
;
/**
/**
* 产品列表
* 产品列表
*/
*/
@ApiModelProperty
(
name
=
"productList"
,
notes
=
"产品列表"
,
dataType
=
"List"
)
private
List
<
ProductRelationResponse
>
productList
;
private
List
<
ProductRelationResponse
>
productList
;
}
}
src/main/java/cn/com/glsx/merchants/response/RoleResponse.java
View file @
ef348ec
package
cn
.
com
.
glsx
.
merchants
.
response
;
package
cn
.
com
.
glsx
.
merchants
.
response
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -9,56 +10,67 @@ import java.util.List;
...
@@ -9,56 +10,67 @@ import java.util.List;
@Data
@Data
public
class
RoleResponse
implements
Serializable
{
public
class
RoleResponse
implements
Serializable
{
@ApiModelProperty
(
name
=
"id"
,
notes
=
"id"
,
dataType
=
"Integer"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 角色名称
* 角色名称
*/
*/
@ApiModelProperty
(
name
=
"roleName"
,
notes
=
"角色名称"
,
dataType
=
"String"
)
private
String
roleName
;
private
String
roleName
;
/**
/**
* 角色描述
* 角色描述
*/
*/
@ApiModelProperty
(
name
=
"roleDescription"
,
notes
=
"角色描述"
,
dataType
=
"String"
)
private
String
roleDescription
;
private
String
roleDescription
;
/**
/**
* 所属商户id
* 所属商户id
*/
*/
@ApiModelProperty
(
name
=
"merchantId"
,
notes
=
"所属商户id"
,
dataType
=
"Integer"
)
private
Integer
merchantId
;
private
Integer
merchantId
;
/**
/**
* 创建时间
* 创建时间
*/
*/
@ApiModelProperty
(
name
=
"createdBy"
,
notes
=
"创建人id"
,
dataType
=
"Integer"
)
private
Integer
createdBy
;
private
Integer
createdBy
;
/**
/**
* 创建时间
* 创建时间
*/
*/
@ApiModelProperty
(
name
=
"createdTime"
,
notes
=
"创建时间"
,
dataType
=
"Date"
)
private
Date
createdTime
;
private
Date
createdTime
;
/**
/**
* 更新人
* 更新人
*/
*/
@ApiModelProperty
(
name
=
"updatedBy"
,
notes
=
"更新人id"
,
dataType
=
"Integer"
)
private
Integer
updatedBy
;
private
Integer
updatedBy
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@ApiModelProperty
(
name
=
"updatedTime"
,
notes
=
"更新时间"
,
dataType
=
"Date"
)
private
Date
updatedTime
;
private
Date
updatedTime
;
/**
/**
* 创建账户
* 创建账户
*/
*/
@ApiModelProperty
(
name
=
"createdAccount"
,
notes
=
"创建账户"
,
dataType
=
"String"
)
private
String
createdAccount
;
private
String
createdAccount
;
/**
/**
* 更新账户
* 更新账户
*/
*/
@ApiModelProperty
(
name
=
"updatedAccount"
,
notes
=
"更新账户"
,
dataType
=
"String"
)
private
String
updatedAccount
;
private
String
updatedAccount
;
/**
/**
* 角色关联账户类型列表
* 角色关联账户类型列表
*/
*/
@ApiModelProperty
(
name
=
"responseList"
,
notes
=
"角色关联账户类型数据列表"
,
dataType
=
"List"
)
private
List
<
RoleAccountTypeResponse
>
responseList
;
private
List
<
RoleAccountTypeResponse
>
responseList
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment