RoleResponse.java
2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package cn.com.glsx.merchants.response;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
public class RoleResponse implements Serializable {
@ApiModelProperty(name = "id", notes = "id", dataType = "Integer")
private Integer id;
/**
* 角色名称
*/
@ApiModelProperty(name = "roleName", notes = "角色名称", dataType = "String")
private String roleName;
/**
* 角色编码
*/
@ApiModelProperty(name = "roleCode", notes = "角色编码", dataType = "String")
private String roleCode;
/**
* 角色描述
*/
@ApiModelProperty(name = "roleDescription", notes = "角色描述", dataType = "String")
private String roleDescription;
/**
* 所属商户id
*/
@ApiModelProperty(name = "merchantId", notes = "所属商户id", dataType = "Integer")
private Integer merchantId;
/**
* 商户名称
*/
@ApiModelProperty(name = "merchantName", notes = "商户名称", dataType = "String")
private String merchantName;
/**
* 创建时间
*/
@ApiModelProperty(name = "createdBy", notes = "创建人id", dataType = "Integer")
private Integer createdBy;
/**
* 是否删除:0=正常,-1=删除 1.草稿
*/
@ApiModelProperty(notes = "状态", dataType = "Byte", name = "delFlag", required = true)
private Byte delFlag;
/**
* 账户状态
*/
@ApiModelProperty(name = "statusName", notes = "账户状态", dataType = "String", required = true, example = "1")
private String statusName;
/**
* 创建时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "createdTime", notes = "创建时间", dataType = "Date")
private Date createdTime;
/**
* 更新人
*/
@ApiModelProperty(name = "updatedBy", notes = "更新人id", dataType = "Integer")
private Integer updatedBy;
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty(name = "updatedTime", notes = "更新时间", dataType = "Date")
private Date updatedTime;
/**
* 创建账户
*/
@ApiModelProperty(name = "createdAccount", notes = "创建账户", dataType = "String")
private String createdAccount;
/**
* 更新账户
*/
@ApiModelProperty(name = "updatedAccount", notes = "更新账户", dataType = "String")
private String updatedAccount;
private boolean isDefalutRole;
/**
* 角色关联账户类型列表
*/
@ApiModelProperty(name = "responseList", notes = "角色关联账户类型数据列表", dataType = "List")
private List<RoleAccountTypeResponse> responseList;
private static final long serialVersionUID = 1L;
}