package com.rongyichuang.role.dto.response;
|
|
public class RoleResponse {
|
private Long id;
|
private String code;
|
private String name;
|
private String description;
|
private Integer state;
|
private String createTime;
|
private String updateTime;
|
|
// 构造函数
|
public RoleResponse() {}
|
|
public RoleResponse(Long id, String code, String name, String description, Integer state) {
|
this.id = id;
|
this.code = code;
|
this.name = name;
|
this.description = description;
|
this.state = state;
|
}
|
|
// Getter和Setter方法
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public String getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(String createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(String updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|