com.zcj.web.dto.ZtreeDto Maven / Gradle / Ivy
package com.zcj.web.dto;
/**
* Ztree 接收的数据格式
*
* @author [email protected]
* @since 2019/1/26
*/
public class ZtreeDto {
private String name;
private boolean checked = false;
private boolean chkDisabled = false;
private Long pId;
private Long id;
private boolean open = true;
public ZtreeDto() {
}
public ZtreeDto(String name, boolean checked, Long pId, Long id, boolean open, boolean chkDisabled) {
this.name = name;
this.checked = checked;
this.pId = pId;
this.id = id;
this.open = open;
this.chkDisabled = chkDisabled;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean checked) {
this.checked = checked;
}
public Long getpId() {
return pId;
}
public boolean isChkDisabled() {
return chkDisabled;
}
public void setChkDisabled(boolean chkDisabled) {
this.chkDisabled = chkDisabled;
}
public void setpId(Long pId) {
this.pId = pId;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public boolean isOpen() {
return open;
}
public void setOpen(boolean open) {
this.open = open;
}
}